Skip to content

Checks and Tests

Checks and Tests #1517

Workflow file for this run

name: Checks and Tests
on:
pull_request:
merge_group:
jobs:
checks:
runs-on: ubuntu-20.04
name: Code check and tests
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci
- name: Enforce code style
run: npx prettier --config ./prettier.config.cjs --list-different "src/**/*.[jt]s" "tests/**/*.[jt]s" "src/**/*.vue"
- name: Tests
run: npm test