mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +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
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
# We explicitly do this to cache properly.
|
# We explicitly do this to cache properly.
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
@ -199,10 +200,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: 16
|
|
||||||
|
|
||||||
- uses: denoland/setup-deno@v1
|
- uses: denoland/setup-deno@v1
|
||||||
if: matrix.crate == 'swc_bundler'
|
if: matrix.crate == 'swc_bundler'
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/integration.yml
vendored
2
.github/workflows/integration.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 14
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@ -54,6 +55,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 14
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user