Skip to content

Commit

Permalink
ci: Use only Node.js 20.x in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vrknetha committed Dec 6, 2024
1 parent a43bc93 commit e3c0193
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,24 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build
- uses: actions/checkout@v3

- name: Lint
run: npm run lint
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'

- name: Test
run: npm test
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Lint
run: npm run lint

- name: Test
run: npm test

0 comments on commit e3c0193

Please sign in to comment.