Skip to content

Commit 1830a0b

Browse files
committed
Added tarball verification step; Simplified CI trigger
1 parent a8b46a8 commit 1830a0b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Continuous Integration
22

3-
on: [push, pull_request]
3+
on: push
44

55
jobs:
66
build:
@@ -22,5 +22,3 @@ jobs:
2222
npm ci
2323
npm run build
2424
npm test
25-
env:
26-
CI: true

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ jobs:
6969
name: dist
7070
path: dist
7171

72+
- name: Verify tarball
73+
run: |
74+
PACKAGE_TARBALL=`ls *.tgz`
75+
./verifyReleaseTarball.sh $PACKAGE_TARBALL
76+
7277
# Check whether the release should be published. We publish only when the trigger PR is
7378
# 1. merged
7479
# 2. to the master branch

0 commit comments

Comments
 (0)