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 0d7e8db commit e675f27Copy full SHA for e675f27
.github/workflows/npm-publish.yml
@@ -5,24 +5,16 @@ on:
5
types: [created]
6
7
jobs:
8
- build:
9
- runs-on: ubuntu-latest
10
- steps:
11
- - uses: actions/checkout@v2
12
- - uses: actions/setup-node@v2
13
- with:
14
- node-version: 16
15
- - run: npm test
16
-
17
publish-npm:
18
- needs: build
19
runs-on: ubuntu-latest
20
steps:
21
- uses: actions/checkout@v2
22
- uses: actions/setup-node@v2
23
with:
24
node-version: 16
25
registry-url: https://registry.npmjs.org/
26
- - run: npm publish
+ - run: |
+ npm test
+ npm publish
27
env:
28
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
0 commit comments