Skip to content

Commit d16b0e8

Browse files
author
Bart Veneman
committed
replace hardcoded node version with cache reference in release CI
1 parent e75d5ca commit d16b0e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
cache: "npm"
1818
- run: npm install --ignore-scripts --no-audit --no-fund
1919
- run: npm test
2020

@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 20
28+
cache: "npm"
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm install --ignore-scripts --no-audit --no-fund
3131
- run: npm run build

0 commit comments

Comments
 (0)