devops: don't force NPM 8 everywhere (#27465)

We used to have this historically due to bots which were running on
Node.js 14. Node.js 14 was shipping NPM 7 back in the days.

Now all bots are on >= Node.js 16 so we can remove this legacy code.
This commit is contained in:
Max Schmitt 2023-10-05 22:21:00 +00:00 committed by GitHub
parent 0717b386f9
commit ba207697c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 2 additions and 13 deletions

View File

@ -22,7 +22,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -25,7 +25,6 @@ jobs:
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps
@ -79,7 +78,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- name: Deploy Canary
run: bash utils/build/deploy-trace-viewer.sh --canary
if: contains(github.ref, 'main')

View File

@ -34,7 +34,6 @@ jobs:
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -18,7 +18,6 @@ jobs:
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -21,7 +21,6 @@ jobs:
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install-deps

View File

@ -14,7 +14,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- name: Deploy Stable
run: bash utils/build/deploy-trace-viewer.sh --stable
env:

View File

@ -15,7 +15,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- name: Install dependencies

View File

@ -30,7 +30,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- run: npm ci
- run: npm run build
- run: npx playwright install --with-deps

View File

@ -32,7 +32,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1

View File

@ -29,7 +29,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm i -g npm@8
with:
node-version: 16
- run: npm ci
- run: npm run build
- run: npx playwright install --with-deps

View File

@ -26,7 +26,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm i -g npm@8
- run: npm ci
env:
DEBUG: pw:install

View File

@ -32,7 +32,6 @@ jobs:
- uses: actions/setup-dotnet@v2
with:
dotnet-version: '6.0.x'
- run: npm i -g npm@8
- run: npm ci
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1