Skip to content

Commit e3c0193

Browse files
committed
ci: Use only Node.js 20.x in CI workflow
1 parent a43bc93 commit e3c0193

1 file changed

Lines changed: 17 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,24 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
node-version: [18.x, 20.x]
1512

1613
steps:
17-
- uses: actions/checkout@v3
18-
19-
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v3
21-
with:
22-
node-version: ${{ matrix.node-version }}
23-
cache: 'npm'
24-
25-
- name: Install dependencies
26-
run: npm ci
27-
28-
- name: Build
29-
run: npm run build
14+
- uses: actions/checkout@v3
3015

31-
- name: Lint
32-
run: npm run lint
16+
- name: Use Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '20.x'
20+
cache: 'npm'
3321

34-
- name: Test
35-
run: npm test
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Build
26+
run: npm run build
27+
28+
- name: Lint
29+
run: npm run lint
30+
31+
- name: Test
32+
run: npm test

0 commit comments

Comments
 (0)