Skip to content

Commit

Permalink
chore: improve CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
emretepedev committed Dec 29, 2024
1 parent 67ba748 commit 040274c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,14 @@ jobs:
with:
node-version: ${{ matrix.node }}

- name: Cache yarn dependencies
uses: actions/cache@v3
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
id: yarn-cache
with:
path: $(yarn cache dir)
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down

0 comments on commit 040274c

Please sign in to comment.