Skip to content

Commit 907c5db

Browse files
Update actions/setup-node action to v4 (#761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Caleb Eby <caleb.eby01@gmail.com>
1 parent c9a3688 commit 907c5db

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v3
2121
- name: Use Node.js ${{ matrix.node-version }}
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
25+
cache: 'npm'
2526
- run: npm i -g npm@latest
2627
- run: npm ci
2728
- run: npm run build
@@ -38,9 +39,10 @@ jobs:
3839
steps:
3940
- uses: actions/checkout@v3
4041
- name: Use Node.js ${{ matrix.node-version }}
41-
uses: actions/setup-node@v3
42+
uses: actions/setup-node@v4
4243
with:
4344
node-version: ${{ matrix.node-version }}
45+
cache: 'npm'
4446
- run: npm i -g npm@latest
4547
- run: npm ci
4648
- run: npm run lint:check
@@ -53,9 +55,9 @@ jobs:
5355
steps:
5456
- uses: actions/checkout@v3
5557
- name: Use Node.js ${{ matrix.node-version }}
56-
uses: actions/setup-node@v3
58+
uses: actions/setup-node@v4
5759
with:
5860
node-version: ${{ matrix.node-version }}
59-
- run: npm i -g npm@latest
61+
cache: 'npm'
6062
- run: npm ci
6163
- run: npm run type

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Setup Node.js 18.x
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: 18.x
23+
cache: 'npm'
2324
- run: npm i -g npm@latest
2425
- name: Install Dependencies
2526
run: npm ci

0 commit comments

Comments
 (0)