Skip to content

Commit

Permalink
chore: use npm 9 for CI (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Sep 5, 2023
1 parent 74b3c7e commit e676018
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
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
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
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
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
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
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
Expand Up @@ -61,6 +61,7 @@
"16.x",
"18.0.0",
"18.x"
]
],
"npmSpec": "next-9"
}
}

0 comments on commit e676018

Please sign in to comment.