Skip to content

Commit

Permalink
Add GitHub Action to check formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Nov 22, 2023
1 parent e4822b8 commit 6cdc819
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check formatting

on: push

jobs:
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- run: |
npm install
- run: |
npm run format-check

0 comments on commit 6cdc819

Please sign in to comment.