Skip to content

Commit 9c64b10

Browse files
committed
chore: use yarn cache from setup-node
1 parent 40d928c commit 9c64b10

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/lint-and-build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ jobs:
2222
- uses: actions/setup-node@v3
2323
with:
2424
node-version: lts/*
25+
cache: 'yarn'
2526
- uses: nrwl/nx-set-shas@v2
2627
with:
2728
main-branch-name: 'master'
2829
- name: Setup global dependencies
2930
run: npm i -g yarn
30-
- name: Setup yarn cache
31-
uses: c-hive/gha-yarn-cache@v2
3231
- name: yarn install
3332
run: yarn
3433
- name: Lint affected
@@ -46,13 +45,12 @@ jobs:
4645
- uses: actions/setup-node@v3
4746
with:
4847
node-version: lts/*
48+
cache: 'yarn'
4949
- uses: nrwl/nx-set-shas@v2
5050
with:
5151
main-branch-name: 'master'
5252
- name: Setup global dependencies
5353
run: npm i -g yarn
54-
- name: Setup yarn cache
55-
uses: c-hive/gha-yarn-cache@v2
5654
- name: yarn install
5755
run: yarn
5856
- name: Build.all affected

0 commit comments

Comments
 (0)