Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin NPM #235

Merged
merged 2 commits into from
Feb 7, 2022
Merged
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
10 changes: 7 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node }}
- name: Use Node.js LTS
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
cache: npm

- name: Install latest npm
run: npm install --global npm@latest
run: npm install --global npm@8.3
# TODO: npm@8.4 is broken on Windows. See https://github.com/npm/cli/issues/4341
# run: npm install --global npm@latest

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -54,7 +56,9 @@ jobs:
cache: npm

- name: Install latest npm
run: npm install --global npm@latest
run: npm install --global npm@8.3
# TODO: npm@8.4 is broken on Windows. See https://github.com/npm/cli/issues/4341
# run: npm install --global npm@latest

- name: Install dependencies
run: npm ci
Expand Down