We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4740b3c commit 29ad3feCopy full SHA for 29ad3fe
.github/workflows/build.yml
@@ -32,12 +32,14 @@ jobs:
32
env:
33
CI: true
34
35
+ - run: npm run test:unit
36
+
37
- name: Is Release?
38
if: startswith(github.ref, 'refs/tags/v')
39
run: echo "DEPLOY_PACKAGE=true" >> $GITHUB_ENV
40
41
- name: Publish to npm
42
if: env.DEPLOY_PACKAGE == 'true'
- run: npm pack && npm publish --access public
43
+ run: npm run build && npm pack && npm publish build/ --access public
44
45
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments