jrayback triggered a quality check #1
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: quality-check | |
run-name: ${{ github.actor }} triggered a quality check | |
on: [push] | |
jobs: | |
quality-check: | |
name: run-check for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
# Use Node 20 LTS | |
node-version: 'lts/Iron' | |
# Install dependencies | |
- run: npm cache clean --force | |
- run: npm set registry https://registry.npmjs.org/ | |
- run: npm ci | |
# Run tests | |
- run: npm run test | |
# Check formatting | |
- run: npm run formatting | |
# Run linter | |
- run: npm run lint | |
# Ensure code compiles | |
- run: npm run build |