Checks and Tests #1517
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: 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 |