File tree 2 files changed +20
-19
lines changed
2 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 27
27
cache : ' npm'
28
28
- run : npm ci
29
29
- run : npm run build --if-present
30
- - run : npm test
31
-
32
- publish-npm :
33
- needs : build
34
- on :
35
- release :
36
- types : [created]
37
- runs-on : ubuntu-latest
38
- steps :
39
- - uses : actions/checkout@v3
40
- - uses : actions/setup-node@v3
41
- with :
42
- node-version : 16
43
- registry-url : https://registry.npmjs.org/
44
- - run : npm ci
45
- - run : npm publish
46
- env :
47
- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
48
-
30
+ - run : npm test
Original file line number Diff line number Diff line change
1
+ name : Publish to NPM
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ publish-npm :
7
+ needs : build
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v3
11
+ - uses : actions/setup-node@v3
12
+ with :
13
+ node-version : 16
14
+ registry-url : https://registry.npmjs.org/
15
+ - run : npm ci
16
+ - run : npm publish
17
+ env :
18
+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
19
+
You can’t perform that action at this time.
0 commit comments