mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
chore(ci): Setup yarn cache (#3015)
This commit is contained in:
parent
da4111a022
commit
69123ddc28
5
.github/workflows/cargo.yml
vendored
5
.github/workflows/cargo.yml
vendored
@ -192,6 +192,7 @@ jobs:
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: "16"
|
||||
cache: "yarn"
|
||||
|
||||
# We explicitly do this to cache properly.
|
||||
- name: Install Rust
|
||||
@ -199,10 +200,6 @@ jobs:
|
||||
with:
|
||||
profile: minimal
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- uses: denoland/setup-deno@v1
|
||||
if: matrix.crate == 'swc_bundler'
|
||||
with:
|
||||
|
2
.github/workflows/integration.yml
vendored
2
.github/workflows/integration.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
cache: "yarn"
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
@ -54,6 +55,7 @@ jobs:
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
cache: "yarn"
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
|
Loading…
Reference in New Issue
Block a user