Skip to content

Commit 02587e7

Browse files
committed
chore: update GitHub Actions workflow for Node.js version compatibility
- Updated the Node.js version matrix to include 20.x and 22.x. - Upgraded actions/checkout from v3 to v4. - Upgraded actions/setup-node from v3 to v4 and changed cache from 'npm' to 'yarn'.
1 parent aaf01e8 commit 02587e7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [18.x]
19+
node-version: [20.x, 22.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
28+
cache: 'yarn'
2929
- run: yarn install
3030
- run: yarn build

0 commit comments

Comments
 (0)