From b9248e9e781111a532ea14cfbc3b6372cfec34b3 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Thu, 2 Jan 2025 15:53:10 +0200 Subject: [PATCH] test node 16.0 --- .github/workflows/nodejs.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ced3b909..f1ef871e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -8,22 +8,36 @@ on: workflow_dispatch: jobs: - test: + node-14: runs-on: ubuntu-latest - strategy: fail-fast: false matrix: - node-version: ['14.6', '14.18', '14', '16'] + node-version: ['14.18', '14'] + steps: + - uses: actions/checkout@v4 + with: { submodules: true } + - uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm install --global npm@7 + - run: npm ci + - run: npm install --no-save rollup@3 + - run: npm test + - run: npm run test:dist + node-16: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: ['16.0', '16'] steps: - uses: actions/checkout@v4 with: { submodules: true } - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - if: matrix.node-version != 16 - run: npm install --global npm@7 - run: npm ci - run: npm install --no-save rollup@3 - run: npm test