fix: rollback immer/zustand change to fix react issue #412
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: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: "yarn" | |
- name: Install Deps | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn run lint | |
- name: Typecheck | |
run: yarn run typecheck | |
- name: Build | |
run: yarn run build | |
- name: Vitest | |
run: yarn run vitest:run | |
- name: Cypress Tests | |
uses: cypress-io/github-action@v2 | |
with: | |
working-directory: ./apps/test-app | |
start: yarn dev | |
wait-on: http://localhost:3000 |