From b8df2322aeee996ca0b93fc40e69572f182f9971 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 11 Feb 2025 10:22:08 +0200 Subject: ci: update Node.js versions --- .github/workflows/ci.yml | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36e35b9..c35c66a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 -- cgit v1.2.3