Skip to content

Commit

Permalink
add CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrence-forooghian committed Jul 24, 2024
1 parent 3d6a54e commit f1e56d6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: check
on:
pull_request:
push:
branches:
- main

jobs:
check:
runs-on: ubuntu-latest
steps:
# Set up
- uses: actions/checkout@v4
- uses: actions/setup-node
with:
node-version: "20" # Oldest LTS at time of writing
- run: npm ci

# Run checks
- run: npm run format:check
- run: npm run lint:check
- run: npm run build

0 comments on commit f1e56d6

Please sign in to comment.