Skip to content

Commit d8c54a4

Browse files
authored
chore: adding caching for package deps in workflows (#4767)
* adding caching for node_modules in workflows * kick tires * trying with yarn for install step... * kick tires
1 parent 17cea29 commit d8c54a4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ jobs:
1313
uses: actions/checkout@v2
1414

1515
- name: Install Node.js
16-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v3
1717
with:
1818
node-version: ${{ matrix.node }}
19+
cache: 'yarn'
1920

2021
- name: Install Dependencies
21-
run: npm install --legacy-peer-deps
22+
run: yarn --frozen-lockfile
2223

2324
- name: Run Checks
2425
run: npm run pr

0 commit comments

Comments
 (0)