Skip to content

Commit

Permalink
add basic quality check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jrayback committed Feb 8, 2024
1 parent e01564f commit c057427
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/main.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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

0 comments on commit c057427

Please sign in to comment.