Skip to content

Commit 010b33d

Browse files
committed
Build package before testing in CI
1 parent 0c5d614 commit 010b33d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
registry-url: 'https://registry.npmjs.org'
1717
- name: install
1818
run: npm ci
19-
- name: test
20-
run: npm run test:ci
2119
- name: build
2220
run: npm run build
21+
- name: test
22+
run: npm run test:ci
2323
- name: publish
2424
run: npm publish --access public
2525
env:

.github/workflows/test.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ jobs:
1313
node-version: 16
1414
- name: install
1515
run: npm ci
16+
- name: build
17+
run: npm run build
1618
- name: test
1719
run: npm run test:ci

0 commit comments

Comments
 (0)