Skip to content

fix: detect primitives correctly when merging #35

fix: detect primitives correctly when merging

fix: detect primitives correctly when merging #35

Workflow file for this run

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