diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index 94798e1b420..9719c88e885 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -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: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 894162c7cd4..5c9d6e3c24f 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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