build: update licensing workflow (#198) #89
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: main-quality | |
on: | |
push: | |
branches: | |
- main | |
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 |