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.
2 parents ffa1562 + 5e451f1 commit 94366f5Copy full SHA for 94366f5
1 file changed
.github/workflows/npm-publish.yml
@@ -11,27 +11,18 @@ on:
11
12
13
jobs:
14
- build:
+ build-test-publish:
15
runs-on: ubuntu-latest
16
steps:
17
- uses: actions/checkout@v4
18
- uses: actions/setup-node@v4
19
with:
20
node-version: 20
21
+ registry-url: https://registry.npmjs.org/
22
+
23
- run: npm ci
24
- run: npm run build
25
- run: npm test
-
- publish-npm:
26
- needs: build
27
- runs-on: ubuntu-latest
28
- steps:
29
- - uses: actions/checkout@v4
30
- - uses: actions/setup-node@v4
31
- with:
32
- node-version: 20
33
- registry-url: https://registry.npmjs.org/
34
- - run: npm ci
35
- run: npm publish
36
env:
37
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments