mirror of
https://github.com/FoggedLens/id-tagging-schema.git
synced 2026-10-08 00:36:54 +02:00
add github workflow for checking code formatting
This commit is contained in:
1 file changed
+13
@@ -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