Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Commit 219ca0c

Browse files
committed
chore: fix installing deps on CI
1 parent 67539e8 commit 219ca0c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/expo-preview.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ jobs:
2828
uses: actions/cache@master
2929
with:
3030
path: '**/node_modules'
31-
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
31+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3232

3333
- name: Install dependencies
3434
if: steps.yarn-cache.outputs.cache-hit != 'true'
35-
run: yarn install --frozen-lockfile
35+
run: |
36+
yarn install --frozen-lockfile
37+
yarn install --cwd example --frozen-lockfile
3638
3739
- name: Publish Expo app
3840
working-directory: ./example

.github/workflows/expo.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ jobs:
3030
uses: actions/cache@master
3131
with:
3232
path: '**/node_modules'
33-
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
33+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3434

3535
- name: Install dependencies
3636
if: steps.yarn-cache.outputs.cache-hit != 'true'
37-
run: yarn install --frozen-lockfile
37+
run: |
38+
yarn install --frozen-lockfile
39+
yarn install --cwd example --frozen-lockfile
3840
3941
- name: Publish Expo app
4042
working-directory: ./example

0 commit comments

Comments
 (0)