Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

chore: use npm 9 for CI #190

Merged
merged 1 commit into from
Sep 8, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down Expand Up @@ -194,9 +194,9 @@ jobs:
- name: Install npm@7
if: startsWith(matrix.node-version, '10.')
run: npm i --prefer-online --no-fund --no-audit -g npm@7
- name: Install npm@latest
- name: Install npm@next-9
if: ${{ !startsWith(matrix.node-version, '10.') }}
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down Expand Up @@ -91,9 +91,9 @@ jobs:
- name: Install npm@7
if: startsWith(matrix.node-version, '10.')
run: npm i --prefer-online --no-fund --no-audit -g npm@7
- name: Install npm@latest
- name: Install npm@next-9
if: ${{ !startsWith(matrix.node-version, '10.') }}
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down Expand Up @@ -157,8 +157,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install npm@latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- name: Install npm@next-9
run: npm i --prefer-online --no-fund --no-audit -g npm@next-9
- name: npm Version
run: npm -v
- name: Install Dependencies
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"16.x",
"18.0.0",
"18.x"
]
],
"npmSpec": "next-9"
}
}