mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
32 lines
584 B
YAML
32 lines
584 B
YAML
name: test-js
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- '**.js'
|
|
- '**.ts'
|
|
- '**.json'
|
|
pull_request:
|
|
paths:
|
|
- '**.js'
|
|
- '**.ts'
|
|
- '**.json'
|
|
|
|
jobs:
|
|
build:
|
|
if: ${{ github.ref != 'refs/heads/l10n_development' }}
|
|
runs-on: docker
|
|
container:
|
|
image: docker.io/library/node:24-trixie
|
|
steps:
|
|
- uses: https://code.forgejo.org/actions/checkout@v6
|
|
|
|
- name: Install NPM deps
|
|
run: npm ci
|
|
|
|
- name: Run TypeScript type checking
|
|
run: npm run ts:lint
|
|
|
|
- name: Run JavaScript tests
|
|
run: npm run test |