mirror of https://github.com/nodejs/node.git
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
parent
0214b90308
commit
8e245cd4e3
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue