Skip to content

Commit a62e317

Browse files
committed
ci: enable npm caching in GitHub Actions workflow
- Add npm caching to actions/setup-node step - Upgrade actions/setup-node from v3 to v4 - This will speed up CI runs by caching node_modules between workflow runs
1 parent 7a0ecd8 commit a62e317

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- uses: actions/setup-node@v3
14+
- uses: actions/setup-node@v4
1515
with:
1616
node-version: 18
17+
cache: npm
1718
- run: npm ci
1819
- run: npm test

0 commit comments

Comments
 (0)