mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
24 lines
496 B
YAML
24 lines
496 B
YAML
|
name: Test Docs
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- 'docs/**'
|
||
|
- '.github/workflows/*docs.yml'
|
||
|
|
||
|
jobs:
|
||
|
test-docs:
|
||
|
name: Test Docusaurus build
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v4
|
||
|
- uses: actions/setup-node@v4
|
||
|
with:
|
||
|
node-version-file: 'docs/.nvmrc'
|
||
|
- name: Install dependencies
|
||
|
working-directory: ./docs
|
||
|
run: npm install
|
||
|
- name: Build
|
||
|
working-directory: ./docs
|
||
|
run: npm run build
|