File tree Expand file tree Collapse file tree 3 files changed +3
-17
lines changed
Expand file tree Collapse file tree 3 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 2323 node-version : ${{ matrix.node-version }}
2424 cache : ' npm'
2525
26- - name : Update npm
27- run : |
28- if [[ "${{ matrix.node-version }}" == "18.x" ]]; then
29- npm install -g npm@10
30- else
31- npm install -g npm@latest
32- fi
33-
3426 - name : Install dependencies
35- run : npm ci --legacy-peer-deps
27+ run : npm ci --legacy-peer-deps --no-optional
3628
3729 - name : Run tests
3830 run : npm test
Original file line number Diff line number Diff line change 2222 registry-url : ' https://registry.npmjs.org'
2323 cache : ' npm'
2424
25- - name : Update npm
26- run : npm install -g npm@10
27-
2825 - name : Install dependencies
29- run : npm ci --legacy-peer-deps
26+ run : npm ci --legacy-peer-deps --no-optional
3027
3128 - name : Run tests
3229 run : npm test
Original file line number Diff line number Diff line change 1919 node-version : ' 20.x'
2020 cache : ' npm'
2121
22- - name : Update npm
23- run : npm install -g npm@10
24-
2522 - name : Install dependencies
26- run : npm ci --legacy-peer-deps
23+ run : npm ci --legacy-peer-deps --no-optional
2724
2825 - name : Run tests with coverage
2926 run : npm run test:coverage
You can’t perform that action at this time.
0 commit comments