1name: Expo Updates CLI 2 3on: 4 push: 5 branches: [main] 6 paths: 7 - .github/workflows/expo-updates-cli.yml 8 - packages/expo-updates/cli/** 9 - yarn.lock 10 pull_request: 11 paths: 12 - .github/workflows/expo-updates-cli.yml 13 - packages/expo-updates/cli/** 14 - yarn.lock 15 16concurrency: 17 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} 18 cancel-in-progress: true 19 20jobs: 21 test: 22 runs-on: ubuntu-22.04 23 steps: 24 - name: Checkout 25 uses: actions/checkout@v3 26 with: 27 fetch-depth: 100 28 - name: ♻️ Restore caches 29 uses: ./.github/actions/expo-caches 30 id: expo-caches 31 with: 32 yarn-workspace: 'true' 33 - name: Install workspace node modules 34 if: steps.expo-caches.outputs.yarn-workspace-hit != 'true' 35 run: yarn install --frozen-lockfile 36 - name: Build expo-updates CLI 37 run: yarn build:cli 38 working-directory: packages/expo-updates 39 - name: Run expo-updates CLI tests 40 run: yarn test:cli 41 working-directory: packages/expo-updates 42