diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 0b5f6579..9c191b50 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,31 +9,22 @@ on: jobs: test: - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [18, 20, latest] + node-version: ['14.0', '14.18', '14', '16'] steps: - uses: actions/checkout@v4 with: { submodules: true } - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + - 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 - run: npm run test:dist - - lint: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Use Node.js - uses: actions/setup-node@v4 - with: { node-version: 20 } - - run: npm ci - - run: npm run lint