Skip to content

Commit 0a51b5a

Browse files
committed
feat(ci): use yarn cache feature built in to setup-node action
1 parent 56a7032 commit 0a51b5a

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,10 @@ jobs:
3030
steps:
3131
- name: git checkout
3232
uses: actions/checkout@v6
33-
- name: yarn cache
34-
uses: actions/cache@v5
35-
with:
36-
path: ~/.yarn/berry/cache
37-
key: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-${{hashFiles('**/yarn.lock')}}
38-
restore-keys: ${{runner.os}}-node${{env.DEPLOY_NODE_VERSION}}-yarn-
3933
- name: Set up Node.js
4034
uses: actions/setup-node@v6
4135
with:
4236
node-version: ${{env.DEPLOY_NODE_VERSION}}
37+
cache: yarn
4338
- run: corepack yarn
4439
- run: corepack yarn semantic-release

0 commit comments

Comments
 (0)