mirror of
https://github.com/FoggedLens/id-tagging-schema.git
synced 2026-05-24 09:04:03 +02:00
add github workflow for checking code formatting
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
name: prettier check
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
lint:
|
||||
name: Check for code formatting mistakes
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16'
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
Reference in New Issue
Block a user