Skip to content

Commit 50b6ace

Browse files
authored
chore(ci): pin npm 9.x in workflows (#1666)
1 parent 2231f42 commit 50b6ace

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: .github/actions/cached-node-modules/action.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ runs:
1212
using: "composite"
1313
steps:
1414
- name: Install npm
15-
if: ${{ inputs.nodeVersion != '18' }}
16-
shell: bash
1715
run: npm i -g npm@next-9
16+
shell: bash
1817
- name: Cache node modules
1918
id: cache-node-modules
2019
uses: actions/cache@69d9d449aced6a2ede0bc19182fadc3a0a42d2b0 # v3.2.6

Diff for: .github/workflows/reusable-run-linting-check-and-unit-tests.yml

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.version }}
2222
cache: "npm"
23-
- name: Setup npm
24-
run: npm i -g npm@latest
2523
- name: Setup dependencies
2624
uses: ./.github/actions/cached-node-modules
2725
with:

0 commit comments

Comments
 (0)