2020-03-23 19:41:05 +01:00
|
|
|
name: misc
|
|
|
|
|
2020-07-21 20:44:30 +02:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-08-06 18:31:17 +02:00
|
|
|
- v[0-9]+.x-staging
|
|
|
|
- v[0-9]+.x
|
2020-03-23 19:41:05 +01:00
|
|
|
|
|
|
|
env:
|
2020-10-28 00:26:46 +01:00
|
|
|
NODE_VERSION: 14.x
|
2020-03-23 19:41:05 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-docs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Use Node.js ${{ env.NODE_VERSION }}
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
|
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
|
|
- name: Environment Information
|
|
|
|
run: npx envinfo
|
|
|
|
- name: Build
|
2020-11-14 16:20:03 +01:00
|
|
|
run: NODE=$(command -v node) make doc-only
|
2020-03-23 19:41:05 +01:00
|
|
|
- uses: actions/upload-artifact@v1
|
|
|
|
with:
|
|
|
|
name: docs
|
|
|
|
path: out/doc
|
2020-08-17 17:52:52 +02:00
|
|
|
- name: Check links
|
|
|
|
run: node tools/doc/checkLinks.js .
|