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 a19fce5 commit f313cc0Copy full SHA for f313cc0
.github/workflows/npm-publish.yml
@@ -4,8 +4,9 @@
4
name: Node.js Package
5
6
on:
7
- release:
8
- types: [created]
+ push:
+ branches:
9
+ - master
10
11
jobs:
12
build:
@@ -14,7 +15,7 @@ jobs:
14
15
- uses: actions/checkout@v2
16
- uses: actions/setup-node@v2
17
with:
- node-version: 16
18
+ node-version: 18
19
- run: npm ci
20
- run: npm test --maxWorkers=2 --maxConcurrent=2
21
@@ -25,11 +26,10 @@ jobs:
25
26
27
28
29
30
registry-url: https://registry.npmjs.org/
31
32
- - run: npm run build
33
- run: npm publish
34
env:
35
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments