Skip to content

Commit db5fdd5

Browse files
chore: update build workflow
1 parent ce861a7 commit db5fdd5

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,22 @@ on:
77

88
jobs:
99
test:
10+
name: Run tests
1011
runs-on: ubuntu-latest
1112
strategy:
1213
matrix:
13-
node-version: [20.x]
14+
node-version: [22.x, 24.x]
1415
steps:
15-
- name: Git checkout
16-
uses: actions/checkout@v3
17-
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v3
16+
- name: Checkout
17+
uses: actions/checkout@v6
18+
- name: Setup Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v6
1920
with:
2021
node-version: ${{ matrix.node-version }}
2122
cache: "npm"
22-
- name: Install packages and symlink local dependencies
23-
run: |
24-
npm ci
25-
- name: Lint code
26-
run: |
27-
npm run lint
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Run linter
26+
run: npm run lint
2827
- name: Run tests
29-
run: |
30-
npm test
28+
run: npm test

0 commit comments

Comments
 (0)