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

Commit

Permalink
chore: use npm 9 for CI (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar authored Sep 8, 2023
1 parent 1f477a8 commit c73cf0d
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
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"
}
}

0 comments on commit c73cf0d

Please # to comment.