build: build docs in GitHub Actions CI workflow

PR-URL: https://github.com/nodejs/node/pull/31504
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
pull/31504/head
Richard Lau 2020-01-24 16:00:12 +00:00
parent 0214b90308
commit 8e245cd4e3
No known key found for this signature in database
GPG Key ID: C43CEC45C17AB93C
1 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,16 @@ name: CI
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: NODE=$(which node) make doc-only
- uses: actions/upload-artifact@v1
with:
name: docs
path: out/doc
build-linux: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: