Skip to content

Commit

Permalink
Add GitHub check actions (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSpicyBurrito authored Dec 29, 2024
1 parent 99baca5 commit d00d32d
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Format

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run check-format
20 changes: 20 additions & 0 deletions .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Lint

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run check-lint
20 changes: 20 additions & 0 deletions .github/workflows/check-type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Type

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run check-type

0 comments on commit d00d32d

Please sign in to comment.