File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
18
- - name : Setup Node.js
19
- uses : actions/setup-node@v4
18
+ - uses : actions/setup-node@v4
20
19
with :
21
20
node-version-file : .nvmrc
21
+ cache : ' npm'
22
22
23
23
- name : Install NPM dependencies
24
24
run : npm ci
Original file line number Diff line number Diff line change @@ -15,16 +15,13 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v4
17
17
18
- - name : Setup Node.js
19
- uses : actions/setup-node@v4
18
+ - uses : actions/setup-node@v4
20
19
with :
21
20
node-version-file : .nvmrc
21
+ cache : ' npm'
22
22
23
- - name : Install npm dependencies
24
- run : npm ci
23
+ - run : npm ci
25
24
26
- - name : Run linter
27
- run : npm run lint
25
+ - run : npm run lint
28
26
29
- - name : Run tests
30
- run : npm test
27
+ - run : npm test
Original file line number Diff line number Diff line change @@ -41,13 +41,12 @@ jobs:
41
41
# Check out using an app token so any pushed changes will trigger checkruns
42
42
token : ${{ steps.generate_token.outputs.token }}
43
43
44
- - name : Setup Node.js
45
- uses : actions/setup-node@v4
44
+ - uses : actions/setup-node@v4
46
45
with :
47
46
node-version-file : .nvmrc
47
+ cache : ' npm'
48
48
49
- - name : Install NPM dependencies
50
- run : npm ci
49
+ - run : npm ci
51
50
52
51
- name : Rebuild the dist/ directory
53
52
run : npm run build
Original file line number Diff line number Diff line change 36
36
- uses : actions/setup-node@v4 # bin/bump-version needs npm
37
37
with :
38
38
node-version-file : .nvmrc
39
+ cache : ' npm'
39
40
40
41
- name : Bump the version
41
42
# Cron runs with no inputs, so version_type will default to 'minor'
You can’t perform that action at this time.
0 commit comments