This repository was archived by the owner on Mar 4, 2025. It is now read-only.
File tree 3 files changed +361
-361
lines changed
cna-template/template/frameworks/github-actions/.github/workflows
create-nuxt-app/test/snapshots
3 files changed +361
-361
lines changed Original file line number Diff line number Diff line change 24
24
uses : actions/checkout@master
25
25
26
26
- name : Setup node env 🏗
27
-
27
+
28
28
with :
29
29
node-version : ${{ matrix.node }}
30
30
check-latest : true
35
35
run : echo "::set-output name=dir::$(yarn cache dir)"
36
36
37
37
- name : Cache node_modules 📦
38
- uses : actions/cache@v2
38
+ uses : actions/cache@v2.1.4
39
39
id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
40
40
with :
41
41
path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
45
45
<%_ } _ % >
46
46
<%_ if (pm === 'npm') { _ % >
47
47
- name : Cache node_modules 📦
48
- uses : actions/cache@v2
48
+ uses : actions/cache@v2.1.4
49
49
with :
50
50
path : ~/.npm
51
51
key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
54
54
<%_ } _ % >
55
55
56
56
- name : Install dependencies 👨🏻💻
57
- run : <%= pmRun === 'yarn' ? 'yarn' : 'npm ci' %>
57
+ run : <%= pmRun === 'yarn' ? 'yarn' : 'npm ci --prefer-offline --no-audit ' %>
58
58
59
59
<%_ if (linter.length > 0) { _ % >
60
60
- name : Run linter 👀
You can’t perform that action at this time.
0 commit comments