[tools] Add SDK tag to canary templates #3028
Workflow file for this run
This file contains 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-22.04 | |
steps: | |
- name: 👀 Checkout | |
uses: actions/checkout@v4 | |
- name: ♻️ Restore caches | |
uses: ./.github/actions/expo-caches | |
id: expo-caches | |
with: | |
yarn-tools: 'true' | |
- name: 🧶 Install modules in tools dir | |
if: steps.expo-caches.outputs.yarn-tools-hit != 'true' | |
run: yarn install --ignore-scripts --frozen-lockfile | |
working-directory: tools | |
- name: 🛠 Compile TypeScript sources | |
run: yarn build | |
working-directory: tools | |
- name: 🛠 Typecheck sources | |
run: yarn tsc --noEmit | |
working-directory: tools | |
- name: 🚨 Lint TypeScript sources | |
run: yarn lint --max-warnings 0 | |
working-directory: tools |