Skip to content

Commit

Permalink
ci: cache npm
Browse files Browse the repository at this point in the history
bypass actions/setup-node#712 by turning of workspaces for the duration of the setup-node action
  • Loading branch information
dvirtz committed Apr 8, 2024
1 parent 133f8f9 commit 6f75ce3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
env:
npm_config_workspaces: false
- uses: actions/setup-python@v5
with:
python-version: '3.10'
Expand Down Expand Up @@ -80,6 +83,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
env:
npm_config_workspaces: false
- uses: actions/setup-python@v5
with:
python-version: '3.10'
Expand Down

0 comments on commit 6f75ce3

Please sign in to comment.