[pull] main from expo:main #3364
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Expotools | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: [main, 'sdk-*'] | |
| paths: | |
| - .github/workflows/expotools.yml | |
| - tools/** | |
| pull_request: | |
| paths: | |
| - .github/workflows/expotools.yml | |
| - tools/** | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: 👀 Checkout | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: 🔨 Install pnpm | |
| uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 | |
| with: | |
| version: 10 | |
| - name: 🔨 Setup Node | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 22 | |
| cache: 'pnpm' | |
| - name: 📦 Install dependencies | |
| run: pnpm install --ignore-scripts --frozen-lockfile | |
| - name: ♻️ Restore caches | |
| uses: ./.github/actions/expo-caches | |
| id: expo-caches | |
| - name: 🛠 Compile TypeScript sources | |
| run: pnpm build | |
| working-directory: tools | |
| - name: 🛠 Typecheck sources | |
| run: pnpm tsc --noEmit | |
| working-directory: tools | |
| - name: 🚨 Lint TypeScript sources | |
| run: pnpm lint --max-warnings 0 | |
| working-directory: tools |