--- name: Setup Expo Project description: Install dependencies and set up the Expo/EAS CLI for a build. Does not check out the repo. inputs: expo-token: description: Expo token (EXPO_TOKEN secret) required: true eas-version: description: EAS CLI version to install required: false default: '19.0.5' runs: using: composite steps: - name: Check for EXPO_TOKEN shell: bash env: EXPO_TOKEN: ${{ inputs.expo-token }} run: > if [ -z "$EXPO_TOKEN" ]; then echo "You must provide an EXPO_TOKEN secret linked to this project's Expo account in this repo's secrets. Learn more: https://docs.expo.dev/eas-update/github-actions" exit 1 fi - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9 - name: 🔧 Setup Node uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: node-version-file: package.json cache: pnpm - name: 🪛 Setup jq uses: dcarbone/install-jq-action@4fcb5062d7ce9bc4382d1a352d19ba3ba2c317c1 # v4.0.1 - name: ⚙️ Install dependencies shell: bash run: pnpm install --frozen-lockfile - name: 🔨 Setup Expo CLI uses: expo/expo-github-action@eab7a230208c952974db8c3245cfd78402c7b385 # 9.0.0 with: eas-version: ${{ inputs.eas-version }} packager: 'pnpm --allow-build=dtrace-provider' token: ${{ inputs.expo-token }}