File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999 architecture : ${{ steps.calculate_architecture.outputs.result }}
100100 cache : " npm"
101101
102+ - name : Install dependencies (old Node.js version)
103+ run : |
104+ rm package-lock.json
105+ npm install --ignore-engines
106+ if : matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x'
107+
102108 - name : Install dependencies
103109 run : npm ci
110+ if : matrix.node-version == '18.x' || matrix.node-version == '20.x' || matrix.node-version == '22.x' || matrix.node-version == '24.x'
104111
105112 - name : Install webpack ${{ matrix.webpack-version }}
106113 if : matrix.webpack-version != 'latest'
@@ -147,8 +154,15 @@ jobs:
147154 architecture : ${{ steps.calculate_architecture.outputs.result }}
148155 cache : " npm"
149156
157+ - name : Install dependencies (old Node.js version)
158+ run : |
159+ rm package-lock.json
160+ npm install --ignore-engines
161+ if : matrix.node-version == '12.x' || matrix.node-version == '14.x' || matrix.node-version == '16.x'
162+
150163 - name : Install dependencies
151164 run : npm ci
165+ if : matrix.node-version == '18.x' || matrix.node-version == '20.x' || matrix.node-version == '22.x' || matrix.node-version == '24.x'
152166
153167 - name : Run tests for webpack version latest with experimentalUseImportModule
154168 run : npm run test:coverage -- --ci
You can’t perform that action at this time.
0 commit comments