Skip to content

Commit 29ad3fe

Browse files
Correct publish step
1 parent 4740b3c commit 29ad3fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ jobs:
3232
env:
3333
CI: true
3434

35+
- run: npm run test:unit
36+
3537
- name: Is Release?
3638
if: startswith(github.ref, 'refs/tags/v')
3739
run: echo "DEPLOY_PACKAGE=true" >> $GITHUB_ENV
3840

3941
- name: Publish to npm
4042
if: env.DEPLOY_PACKAGE == 'true'
41-
run: npm pack && npm publish --access public
43+
run: npm run build && npm pack && npm publish build/ --access public
4244
env:
4345
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)