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 3131 run : npm run lint:check
3232 - name : Testing JEST
3333 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+
3935 release :
4036 if : github.ref == 'refs/heads/main'
4137 needs : test
5349 run : |
5450 ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
5551 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
6154 - name : Clean node_modules after regenerate
6255 run : rm -rf node_modules
6356 - name : Clean install on CI
9386 run : |
9487 ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts
9588 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
10191 - name : Clean node_modules after regenerate
10292 run : rm -rf node_modules
10393 - name : Clean install on CI
You can’t perform that action at this time.
0 commit comments