mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-12 21:43:48 +08:00
1b9310e766
Some checks failed
analyse-php / build (push) Has been cancelled
lint-js / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-js / build (push) Has been cancelled
test-migrations / build (8.1) (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-php / build (8.1) (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
25 lines
383 B
YAML
25 lines
383 B
YAML
name: lint-js
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.js'
|
|
- '**.json'
|
|
pull_request:
|
|
paths:
|
|
- '**.js'
|
|
- '**.json'
|
|
|
|
jobs:
|
|
build:
|
|
if: ${{ github.ref != 'refs/heads/l10n_development' }}
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install NPM deps
|
|
run: npm ci
|
|
|
|
- name: Run formatting check
|
|
run: npm run lint
|