File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 31
31
run : npm run lint:check
32
32
- name : Testing JEST
33
33
run : npm run test
34
- - name : Upload package-lock.json regenerate
35
- uses : actions/upload-artifact@v3
36
- with :
37
- name : package-lock
38
- path : ./package-lock.json
34
+
39
35
release :
40
36
if : github.ref == 'refs/heads/main'
41
37
needs : test
53
49
run : |
54
50
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
55
51
shell : bash
56
- - name : Download artifact package-lock.json
57
- uses : actions/download-artifact@v3
58
- with :
59
- name : package-lock
60
- path : ./package-lock.json
52
+ - name : Regenerate package-lock.json
53
+ run : npm i
61
54
- name : Clean node_modules after regenerate
62
55
run : rm -rf node_modules
63
56
- name : Clean install on CI
93
86
run : |
94
87
ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
95
88
shell : bash
96
- - name : Download artifact package-lock.json
97
- uses : actions/download-artifact@v3
98
- with :
99
- name : package-lock
100
- path : ./package-lock.json
89
+ - name : Regenerate package-lock.json
90
+ run : npm i
101
91
- name : Clean node_modules after regenerate
102
92
run : rm -rf node_modules
103
93
- name : Clean install on CI
You can’t perform that action at this time.
0 commit comments