File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 14
14
steps :
15
15
- uses : actions/checkout@v2
16
16
- uses : actions/setup-node@v2
17
- - uses : bahmutov/npm-install@v1
17
+ with :
18
+ cache : npm
19
+ - run : npm ci
18
20
- run : npx semantic-release
19
21
env :
20
22
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 31
31
uses : actions/setup-node@v2
32
32
with :
33
33
node-version : ${{ matrix.node-version }}
34
+ cache : npm
34
35
- name : Ensure dependencies are compatible with the version of node
35
36
run : echo 'engine-strict=true' >> .npmrc
36
- - uses : bahmutov/ npm-install@v1
37
+ - run : npm ci
37
38
- run : npm run test:ci
38
39
39
40
# separate job to set as required in branch protection,
44
45
steps :
45
46
- uses : actions/checkout@v2
46
47
- uses : actions/setup-node@v2
47
- - uses : bahmutov/npm-install@v1
48
+ with :
49
+ cache : npm
50
+ - run : npm ci
48
51
- run : npm run lint
You can’t perform that action at this time.
0 commit comments