From 3fcd0e77aeaecddcee7c7d5a5a4cf96619396a15 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Fri, 5 Apr 2024 01:58:09 +0100 Subject: [PATCH] ci: Run on more recent Node.js versions --- .github/workflows/nodejs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 80c2a11b..161282f9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [8.x, 10.x, 12.x] + node-version: [8.x, 10.x, 12.x, 14.x, 16.x, 18.x, lts/*, current] steps: - uses: actions/checkout@v2 @@ -27,8 +27,9 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run lint - if: ${{ matrix.node-version == '12.x' }} + if: ${{ matrix.node-version == 'lts/*' }} - run: npm run test env: CI: true - run: ./scripts/check-is-build-fresh.sh + if: ${{ matrix.node-version == 'lts/*' }}