File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v4
13
13
14
- - uses : actions/setup-node@v2
14
+ - uses : actions/setup-node@v4
15
15
with :
16
- node-version : 20
16
+ node-version : 22
17
17
18
18
- name : Get yarn cache directory path
19
19
id : yarn-cache-dir-path
20
20
run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
21
21
22
- - uses : actions/cache@v1
22
+ - uses : actions/cache@v4
23
23
id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
24
24
with :
25
25
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
Original file line number Diff line number Diff line change @@ -12,17 +12,17 @@ jobs:
12
12
build :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v2
15
+ - uses : actions/checkout@v4
16
16
17
- - uses : actions/setup-node@v2
17
+ - uses : actions/setup-node@v4
18
18
with :
19
- node-version : 18
19
+ node-version : 22
20
20
21
21
- name : Get yarn cache directory path
22
22
id : yarn-cache-dir-path
23
23
run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
24
24
25
- - uses : actions/cache@v1
25
+ - uses : actions/cache@v4
26
26
id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
27
27
with :
28
28
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
45
45
mv zxing-ngx-scanner-*.tgz ./package.tgz
46
46
47
47
- name : Upload build artifacts
48
- uses : actions/upload-artifact@v1
48
+ uses : actions/upload-artifact@v4
49
49
with :
50
50
name : pack-artifact
51
51
path : ./package.tgz
@@ -56,13 +56,13 @@ jobs:
56
56
steps :
57
57
58
58
- name : Download build artifacts
59
- uses : actions/download-artifact@v1
59
+ uses : actions/download-artifact@v4
60
60
with :
61
61
name : pack-artifact
62
62
63
- - uses : actions/setup-node@v2
63
+ - uses : actions/setup-node@v4
64
64
with :
65
- node-version : 20
65
+ node-version : 22
66
66
registry-url : https://registry.npmjs.org/
67
67
68
68
- run : npm publish ./pack-artifact/package.tgz --access public
You can’t perform that action at this time.
0 commit comments