Set model-defined props outside constructor to ensure useDefineForClassFields compatibility #919
Workflow file for this run
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/install-deps | |
- uses: ./.github/actions/build-packages | |
- name: Lint files | |
run: pnpm run lint | |
test: | |
runs-on: ubuntu-20.04 | |
needs: | |
- lint | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/install-deps | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: ./.github/actions/build-packages | |
- name: Run unit tests | |
run: pnpm run test |