--- 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 - name: 📦 Setup pnpm and Node uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2 with: cache: true install: false - 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 }}