Skip to content

Commit

Permalink
chore(ci): Setup yarn cache (#3015)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj authored Dec 12, 2021
1 parent da4111a commit 69123dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,17 +192,14 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: "16"
cache: "yarn"

# We explicitly do this to cache properly.
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal

- uses: actions/setup-node@v2
with:
node-version: 16

- uses: denoland/setup-deno@v1
if: matrix.crate == 'swc_bundler'
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
cache: "yarn"

- name: Cache
uses: actions/cache@v2
Expand Down Expand Up @@ -54,6 +55,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 14
cache: "yarn"

- name: Cache
uses: actions/cache@v2
Expand Down

1 comment on commit 69123dd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 69123dd Previous: da4111a Ratio
full_es2015 192272633 ns/iter (± 22344491) 175707729 ns/iter (± 17608645) 1.09
full_es2016 152030695 ns/iter (± 22962306) 144225072 ns/iter (± 14578235) 1.05
full_es2017 160278163 ns/iter (± 25544409) 142000183 ns/iter (± 8569864) 1.13
full_es2018 156530754 ns/iter (± 20226060) 143302859 ns/iter (± 19978757) 1.09
full_es2019 155510323 ns/iter (± 15958353) 140355427 ns/iter (± 16685053) 1.11
full_es2020 153515212 ns/iter (± 19095408) 141230834 ns/iter (± 12917985) 1.09
full_es3 224079361 ns/iter (± 31322743) 201900310 ns/iter (± 27782069) 1.11
full_es5 205224422 ns/iter (± 23787165) 186646231 ns/iter (± 25109048) 1.10
parser 746240 ns/iter (± 163540) 670373 ns/iter (± 168299) 1.11

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.