Skip to content

Commit

Permalink
ci: update Node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Feb 11, 2025
1 parent 6ecba64 commit b8df232
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
name: ci

on: [push]
on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
node: [ '18', '16', '14' ]
node: ['22', '20', '18']
name: Node ${{ matrix.node }} CI
steps:
- uses: actions/checkout@v1
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: npm install, build, lint, and test
run: |
npm ci
npm run build
npm run lint
npm test
env:
CI: true
- uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: npm install, build, lint, and test
run: |
npm ci
npm run build
npm run lint
npm test
env:
CI: true

0 comments on commit b8df232

Please sign in to comment.