ci: add CI, CodeQL and release automation #1
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate: | |
| name: Lint, test and build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: yarn | |
| # `prepare` runs `expo-module prepare`, so this already builds once. | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn lint | |
| - run: yarn test | |
| - run: yarn build | |
| # `build/` is generated, so the only way to know the published tarball | |
| # isn't empty is to pack one. | |
| - name: Check the tarball contents | |
| run: npm pack --dry-run |