@@ -10,44 +10,18 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
13+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414
15- - name : Setup Node.js
16- uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
17- with :
18- node-version-file : .nvmrc
15+ - name : Setup
16+ uses : ./.github/actions/setup
1917
2018 - name : Setup Expo
21- uses : expo/expo-github-action@d300b960e9f91a8c59b2aaca92e89ad70b0785ac # v7
19+ uses : expo/expo-github-action@c7b66a9c327a43a8fa7c0158e7f30d6040d2481e # v8.2.1
2220 with :
2321 expo-version : latest
2422 eas-version : latest
2523 token : ${{ secrets.EXPO_TOKEN }}
2624
27- - name : Restore dependencies
28- id : yarn-cache
29- uses : actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4
30- with :
31- path : ' **/node_modules'
32- key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
33- restore-keys : |
34- ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
35- ${{ runner.os }}-yarn-
36-
37- - name : Install dependencies
38- if : steps.yarn-cache.outputs.cache-hit != 'true'
39- run : |
40- sudo corepack enable
41- yarn --cwd example --immutable
42- yarn --immutable
43-
44- - name : Cache dependencies
45- if : steps.yarn-cache.outputs.cache-hit != 'true'
46- uses : actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4
47- with :
48- path : ' **/node_modules'
49- key : ${{ steps.yarn-cache.outputs.cache-primary-key }}
50-
5125 - name : Publish Expo app update
5226 working-directory : ./example
5327 run : eas update --auto
0 commit comments