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