Skip to content

Commit c1b48ae

Browse files
committed
chore: update CI configuration to use Node.js 20.x and switch to yarn for dependency management
1 parent cb27c0e commit c1b48ae

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,26 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x]
15+
node-version: [20.x]
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
1920
- name: Use Node.js ${{ matrix.node-version }}
2021
uses: actions/setup-node@v4
2122
with:
2223
node-version: ${{ matrix.node-version }}
24+
cache: "yarn"
25+
2326
- name: Install dependencies
24-
run: |
25-
npm ci
27+
run: yarn install --frozen-lockfile
28+
2629
- name: Lint
27-
run: |
28-
npm run lint
30+
run: yarn lint
31+
2932
- name: Test
30-
run: |
31-
npm test
33+
run: yarn test
34+
3235
- name: Upload coverage
3336
if: success()
3437
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)