chore(ci): remove E2E devbox infra, fix CI to run tests #1361
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, beta] | |
| pull_request: | |
| branches: [master, beta] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| name: Lint + Test + Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install devbox | |
| uses: jetify-com/devbox-install-action@v0.14.0 | |
| - name: Install dependencies | |
| run: devbox run -- yarn install --immutable | |
| - name: Lint | |
| run: devbox run lint | |
| - name: Typecheck | |
| run: devbox run -- yarn typescript | |
| - name: Test | |
| run: devbox run -- yarn test | |
| - name: Build | |
| run: devbox run build | |
| commitlint: | |
| name: Commitlint | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install devbox | |
| uses: jetify-com/devbox-install-action@v0.14.0 | |
| - name: Install dependencies | |
| run: devbox run -- yarn install --immutable | |
| - name: Validate PR title | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: devbox run -- bash -c 'echo "$PR_TITLE" | yarn commitlint' |