add the $descriptions object #43
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: Check | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
code-quality: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: Instal Dependencies | |
run: npm ci | |
- name: Tests | |
run: npm run coverage | |
- name: Coverage Report | |
if: always() # Also generate the report if tests are failing | |
uses: davelosert/vitest-coverage-report-action@v1 | |
code-style: | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "npm" | |
- name: Instal Dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Prettier Check | |
run: npm run prettier:check |