Refactor to defineModel #205
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: Quality Check PR | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
branches: | |
- main | |
concurrency: | |
group: qc-check-app-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Install Dependencies | |
run: npm ci --ignore-scripts | |
- name: Run Lint | |
run: npm run lint | |
test-server: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Install Dependencies | |
working-directory: ./server | |
run: npm ci | |
- name: Run Tests | |
working-directory: ./server | |
run: npm test | |
- name: Test Types | |
working-directory: ./server | |
run: npm run test:types | |
test-client: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Install Dependencies | |
working-directory: ./client | |
run: npm ci | |
- name: Run Tests | |
working-directory: ./client | |
run: npm test -- run | |
- name: Test Types | |
working-directory: ./client | |
run: npm run test:types |