build: short circuit dev if any process fails #98
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: Apps E2E | |
env: | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
jobs: | |
e2e-node: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dir: | |
[ | |
course-builder-web | |
] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "pnpm" | |
- name: Install necessary deps | |
run: pnpm --filter "./apps/${{ matrix.dir }}/**" --filter "@coursebuilder/*" --filter "course-builder-web" --filter "course-builder-turbo" install | |
- name: Setup | |
uses: ./tooling/gh-actions/setup | |
- name: Build UT packages | |
run: pnpm build | |
- name: Run build | |
run: pnpm turbo --filter ./apps/${{ matrix.dir }} build |