Automate coverage collection #252
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: pr-quality | |
on: | |
pull_request: | |
paths-ignore: | |
- "docs/" | |
- "**.md" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
quality: | |
name: Verify Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
# Cloning | |
- uses: actions/checkout@v3 | |
# Setup and Caching | |
- name: Use latest Node.js LTS version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
# NPM Cache using all package-lock files as hash | |
cache: 'npm' | |
cache-dependency-path: '**/package-lock.json' | |
# Dependencies | |
- name: SynTest - Install Dependencies | |
run: npm ci | |
# Formatting | |
- name: SynTest - Run Formatter | |
run: npm run format:check | |
# Linting | |
- name: SynTest - Run Linter | |
run: npm run lint |