Pin npm@9

This commit is contained in:
Louis Lam 2023-10-09 07:33:52 +08:00
parent a36f2a75ca
commit 476deb9fec

View file

@ -33,7 +33,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- run: npm install npm@latest -g - run: npm install npm@9 -g
- run: npm install - run: npm install
- run: npm run build - run: npm run build
- run: npm test - run: npm test
@ -61,7 +61,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- run: npm install npm@latest -g - run: npm install npm@9 -g
- run: npm ci --production - run: npm ci --production
check-linters: check-linters: