Skip to content

Conversation

@anshumanv
Copy link
Member

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

yet to

Motivation / Use-Case

use inbuilt node cache

Breaking Changes

no

Additional Info

https://github.com/actions/setup-node#caching-packages-dependencies

key: ${{ runner.os }}-${{ matrix.webpack-version }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.webpack-version }}-node-
Copy link
Member

Choose a reason for hiding this comment

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

We need webpack-version here, otherwise cache was wrong

Copy link
Member Author

Choose a reason for hiding this comment

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

if I understand correctly, we probably won't need it because we do an install after deps are restored so it'll do a fresh install for webpack version

@codecov
Copy link

codecov bot commented Jul 23, 2021

Codecov Report

Merging #3566 (3b17326) into master (fa8c228) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@ ## master #3566 +/- ## ======================================= Coverage 94.27% 94.27% ======================================= Files 15 15 Lines 1274 1274 Branches 440 440 ======================================= Hits 1201 1201 Misses 67 67 Partials 6 6 

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa8c228...3b17326. Read the comment docs.

Copy link
Member

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

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

one more instance -

uses: actions/setup-node@v2

@anshumanv
Copy link
Member Author

it is single job, no need cache there

snitin315
snitin315 previously approved these changes Jul 24, 2021
@alexander-akait alexander-akait merged commit f663deb into master Aug 6, 2021
@alexander-akait alexander-akait deleted the ci-cache branch August 6, 2021 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants