File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
3
4
- name : ' @smakss/random-array-element'
4
+ name : " @smakss/random-array-element"
5
5
6
6
on :
7
7
release :
@@ -11,21 +11,21 @@ jobs:
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions/setup-node@v1
14
+ - uses : actions/checkout@v3
15
+ - uses : actions/setup-node@v3
16
16
with :
17
- node-version : 12
17
+ node-version : 16
18
18
19
19
publish-npm :
20
20
needs : build
21
21
runs-on : ubuntu-latest
22
22
steps :
23
- - uses : actions/checkout@v2
24
- - uses : actions/setup-node@v1
23
+ - uses : actions/checkout@v3
24
+ - uses : actions/setup-node@v3
25
25
with :
26
- node-version : 12
26
+ node-version : 16
27
27
registry-url : https://registry.npmjs.org/
28
- scope : ' @smakss'
28
+ scope : " @smakss"
29
29
- run : npm publish
30
30
env :
31
31
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
@@ -34,12 +34,12 @@ jobs:
34
34
needs : build
35
35
runs-on : ubuntu-latest
36
36
steps :
37
- - uses : actions/checkout@v2
38
- - uses : actions/setup-node@v1
37
+ - uses : actions/checkout@v3
38
+ - uses : actions/setup-node@v3
39
39
with :
40
- node-version : 12
40
+ node-version : 16
41
41
registry-url : https://npm.pkg.github.com/
42
- scope : ' @smakss'
42
+ scope : " @smakss"
43
43
- run : npm publish
44
44
env :
45
45
NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments