Skip to content

Commit 9fb403c

Browse files
Adjusting GH workflow to replace deprecated yarn cache step.
1 parent cf1d899 commit 9fb403c

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ jobs:
1414
uses: actions/setup-node@v1
1515
with:
1616
node-version: ${{ matrix.node-version }}
17-
18-
# caches yarn dependencies in the yarn cache (not npm_modules)
19-
# should help to speed up yarn install and be safe
20-
# across changes to the repo and platforms
21-
- name: Cache Yarn Deps
22-
uses: c-hive/gha-yarn-cache@v1
17+
# caches yarn dependencies in the yarn cache (not npm_modules)
18+
# should help to speed up yarn install and be safe
19+
# across changes to the repo and platforms
20+
cache: 'yarn'
2321

2422
- run: echo "github.ref = ${{ github.ref }}"
2523

@@ -85,9 +83,7 @@ jobs:
8583
with:
8684
node-version: 18
8785
registry-url: https://registry.npmjs.org/
88-
89-
- name: Cache Yarn Deps
90-
uses: c-hive/gha-yarn-cache@v1
86+
cache: 'yarn'
9187

9288
# frozen lockfile should make the cache more effective
9389
# and our tests more predictable

0 commit comments

Comments
 (0)