mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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:
1 parent
46f83df2fd
commit
c42cb79bb7
1 file changed
+10
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user