99 update :
1010 name : EAS Update
1111 runs-on : ubuntu-latest
12+
1213 defaults :
1314 run :
1415 working-directory : ./Frontend
1516
17+ env :
18+ EXPO_TOKEN : ${{ secrets.EXPO_TOKEN }}
19+ EXPO_PUBLIC_GOOGLE_CLIENT_ID : ${{ secrets.EXPO_PUBLIC_GOOGLE_CLIENT_ID }}
20+ EXPO_PUBLIC_IOS_URL_SCHEME : ${{ secrets.EXPO_PUBLIC_IOS_URL_SCHEME }}
21+ EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID : ${{ secrets.EXPO_PUBLIC_GOOGLE_WEB_CLIENT_ID }}
22+
1623 steps :
1724 - name : Checkout repository
1825 uses : actions/checkout@v4
@@ -21,12 +28,10 @@ jobs:
2128 uses : actions/setup-node@v4
2229 with :
2330 node-version : 20.x
24- # Removing the cache for one run can help clear "sticky" version issues
2531 cache : ' npm'
2632 cache-dependency-path : ./Frontend/package-lock.json
2733
28- # This forces the runner to use the npm version bundled with Node 20
29- - name : Force NPM & Disable Corepack (Yarn)
34+ - name : Force NPM & Disable Corepack
3035 run : |
3136 npm install -g npm@latest
3237 node -v
@@ -37,12 +42,13 @@ jobs:
3742 with :
3843 eas-version : latest
3944 token : ${{ secrets.EXPO_TOKEN }}
40- # EXPLICITLY TELL EXPO ACTION NOT TO USE YARN
4145 packager : npm
4246
4347 - name : Install dependencies
44- # Use --foreground-scripts to ensure engines are checked correctly
45- run : npm ci
48+ run : npm ci --legacy-peer-deps
4649
4750 - name : Publish update
48- run : eas update --branch production --message "Update from GitHub Actions"
51+ # We use a pipe (|) to treat the following text as a literal block,
52+ # which prevents YAML parsing errors with colons and special characters.
53+ run : |
54+ npx eas-cli update --branch production --message "GitHub Update - ${{ github.event.head_commit.message }}"
0 commit comments