-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid Node.js setup cache restore delays
Downgrades to v3 to avoid a bug in GitHub actions/cache actions/cache#810 Cache restore times for ~/.npm going over 5 minutes
- Loading branch information
1 parent
082ab2b
commit e811ef2
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4.0.0 | ||
uses: actions/setup-node@v3.8.2 | ||
with: | ||
cache: npm | ||
node-version: 8 # Node.js 8 supported by Dart Sass v1.0.0 | ||
|
@@ -47,7 +47,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4.0.0 | ||
uses: actions/setup-node@v3.8.2 | ||
with: | ||
cache: npm | ||
check-latest: true | ||
|
@@ -77,7 +77,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4.0.0 | ||
uses: actions/setup-node@v3.8.2 | ||
with: | ||
cache: npm | ||
node-version: 4 # Node.js 4 supported by Node Sass v3.4.0 | ||
|
@@ -100,7 +100,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4.0.0 | ||
uses: actions/setup-node@v3.8.2 | ||
with: | ||
cache: npm | ||
check-latest: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters