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 da038aa commit 249d95bCopy full SHA for 249d95b
.github/workflows/npmpublish.yml
@@ -1,4 +1,4 @@
1
-name: Node.js Package
+name: Deploy
2
3
on:
4
release:
@@ -13,7 +13,7 @@ jobs:
13
with:
14
node-version: 12
15
- run: npm i
16
- - run: npm test
+ - run: npm run build && npm test
17
18
publish-npm:
19
needs: build
@@ -25,7 +25,7 @@ jobs:
25
26
registry-url: https://registry.npmjs.org/
27
28
- - run: npm publish
+ - run: npm run build && npm publish
29
env:
30
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
31
@@ -40,6 +40,6 @@ jobs:
40
registry-url: https://npm.pkg.github.com/
41
scope: '@trickypr'
42
43
44
45
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments