From 57f6b5ad00a375e85157aea1af34356d445bd1b4 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Fri, 24 Jan 2020 16:00:12 +0000 Subject: [PATCH] build: build docs in GitHub Actions CI workflow PR-URL: https://github.com/nodejs/node/pull/31504 Reviewed-By: Jiawen Geng Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- .github/workflows/CI.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d2936382528b0d..356a9f990e4290 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: