Skip to content

enable CI cache for NPM #6767

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

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm

- name: Copy exes to platform bin dirs
run: node ./scripts/copyExes.js
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm

- name: Install npm packages
run: npm ci --ignore-scripts
Expand Down Expand Up @@ -280,6 +282,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm

- name: NPM install
run: npm ci --ignore-scripts
Expand Down Expand Up @@ -341,6 +344,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm

- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -373,6 +377,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
registry-url: https://registry.npmjs.org # Needed to make auth work for publishing

- name: Download artifacts
Expand Down
Loading