Skip to content

Commit d48bcac

Browse files
committed
Refs #37882 - update tests to npm8
1 parent 99923d6 commit d48bcac

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/foreman.yml

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
uses: actions/setup-node@v4
9494
with:
9595
node-version: ${{ matrix.node }}
96+
- name: use npm 8
97+
run: npm i -g npm@8 --registry=https://registry.npmjs.org
9698
- name: Setup NPM Cache
9799
uses: actions/cache@v4
98100
with:

.github/workflows/js_tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
uses: actions/setup-node@v4
4747
with:
4848
node-version: ${{ matrix.node }}
49+
- name: use npm 8
50+
run: npm i -g npm@8 --registry=https://registry.npmjs.org
4951
- name: Generate npm dependencies package-lock
5052
run: npm install --package-lock-only --no-audit
5153
- name: Install npm dependencies

.github/workflows/plugins_react_tests.yml

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
node-version: ${{ matrix.node }}
4848
# We could update the postinstall action for foreman to look for an environment variable for plugin webpack dirs
4949
# before kicking off the ruby script to find them, this would eliminate the ruby dep and running `npm install` in plugins.
50+
- name: use npm 8
51+
run: npm i -g npm@8 --registry=https://registry.npmjs.org
5052
- uses: ruby/setup-ruby@v1
5153
with:
5254
ruby-version: ${{ matrix.ruby }}

0 commit comments

Comments
 (0)