Skip to content

Commit f3396ed

Browse files
committed
Use volta in GH actions
1 parent d2cb488 commit f3396ed

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/node.js.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,8 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515

16-
strategy:
17-
matrix:
18-
node-version: [18.x, 20.x, 22.x]
19-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20-
2116
steps:
2217
- uses: actions/checkout@v4
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v4
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
cache: 'npm'
18+
- uses: volta-cli/action@v4
2819
- run: yarn install
2920
- run: yarn test

0 commit comments

Comments
 (0)