RVF v6 rewrite #434
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: Test and build | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1 | |
- name: Install Deps | |
run: bun install | |
- name: Lint | |
run: bun run lint | |
- name: Typecheck | |
run: bun run typecheck | |
- name: Build | |
run: bun run build | |
- name: Vitest | |
run: bun run vitest:run | |
- name: Cypress Tests | |
uses: cypress-io/github-action@v2 | |
with: | |
working-directory: ./apps/test-app | |
start: bun run dev | |
wait-on: http://localhost:3000 |