mirror of
https://github.com/tubearchivist/tubearchivist.git
synced 2024-11-13 07:10:14 +00:00
add github workflow to enforce linting of JS files (#348)
This commit is contained in:
parent
e7f960bf46
commit
b4fe9a784f
16
.github/workflows/lint_js.yml
vendored
Normal file
16
.github/workflows/lint_js.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: lint_js
|
||||
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: lint_js
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm run format -- --check
|
Loading…
Reference in New Issue
Block a user