Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,15 @@ jobs:
architecture: ${{ steps.calculate_architecture.outputs.result }}
cache: "npm"

- name: Install dependencies (old Node.js version)
run: |
rm package-lock.json
npm install --ignore-engines
if: matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x'

- name: Install dependencies
run: npm ci
if: matrix.node-version == '18.x' || matrix.node-version == '20.x' || matrix.node-version == '22.x' || matrix.node-version == '24.x'

- name: Install webpack ${{ matrix.webpack-version }}
if: matrix.webpack-version != 'latest'
Expand Down Expand Up @@ -147,8 +154,15 @@ jobs:
architecture: ${{ steps.calculate_architecture.outputs.result }}
cache: "npm"

- name: Install dependencies (old Node.js version)
run: |
rm package-lock.json
npm install --ignore-engines
if: matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x'

- name: Install dependencies
run: npm ci
if: matrix.node-version == '18.x' || matrix.node-version == '20.x' || matrix.node-version == '22.x' || matrix.node-version == '24.x'

- name: Run tests for webpack version latest with experimentalUseImportModule
run: npm run test:coverage -- --ci
Expand Down
Loading
Loading