ci: split test and ci 📚 #78
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: Continuous integration | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'main' }} | |
jobs: | |
npm_install: | |
name: Install NPM packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/npm-install | |
expo_lint: | |
name: ESLint check | |
runs-on: ubuntu-latest | |
needs: [npm_install] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/npm-install | |
- run: npm run lint | |
expo_build: | |
name: Build Expo module | |
runs-on: ubuntu-latest | |
needs: [npm_install] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/npm-install | |
- run: npm run build |