Skip to content

Commit

Permalink
build: add yarn cache to github workflow caching (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
axi92 authored Aug 27, 2024
1 parent a4efc62 commit b952769
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
path: |
node_modules
example/node_modules
.yarn/cache
key: node-modules
- run: |
corepack enable
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
path: |
node_modules
example/node_modules
.yarn/cache
key: node-modules
- run: yarn
- run: yarn lint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
path: |
node_modules
example/node_modules
.yarn/cache
key: node-modules
- name: Import GPG key
id: import-gpg
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
path: |
node_modules
example/node_modules
.yarn/cache
key: node-modules
- run: yarn
- run: yarn test
Expand Down Expand Up @@ -63,6 +64,7 @@ jobs:
path: |
node_modules
example/node_modules
.yarn/cache
key: node-modules
- name: Cache Xcode DerivedData
uses: irgaly/[email protected]
Expand Down Expand Up @@ -100,6 +102,7 @@ jobs:
path: |
node_modules
example/node_modules
.yarn/cache
key: node-modules
- name: Cache Gradle
id: cache_gradle
Expand Down

0 comments on commit b952769

Please sign in to comment.