build: build docs in GitHub Actions CI workflow

Backport-PR-URL: https://github.com/nodejs/node/pull/32608
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>
This commit is contained in:
Richard Lau authored and Myles Borins committed 2020-04-02 00:49:45 -04:00
1 parent 46f83df2fd
commit c42cb79bb7
1 file changed
+10
+10
View File
@@ -3,6 +3,16 @@ name: CI
on: [push, pull_request]
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:
runs-on: ubuntu-latest
steps: