wip #231
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: Unit Tests | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
unit-test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Run install | |
run: | | |
yarn install --frozen-lockfile | |
- name: Build zod-models dependency | |
run: | | |
yarn workspace zod-models build | |
shell: bash | |
- name: run unit tests | |
run: | | |
yarn workspace acorn-ui test | |
shell: bash |