mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01:00
add github workflow for checking code formatting
This commit is contained in:
parent
21fc458f14
commit
8de7591a55
1 changed files with 13 additions and 0 deletions
13
.github/workflows/lint.yml
vendored
Normal file
13
.github/workflows/lint.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue