mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/36118 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
33 lines
685 B
YAML
33 lines
685 B
YAML
name: misc
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- v[0-9]+.x-staging
|
|
- v[0-9]+.x
|
|
|
|
env:
|
|
NODE_VERSION: 14.x
|
|
|
|
jobs:
|
|
build-docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ env.NODE_VERSION }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
- name: Environment Information
|
|
run: npx envinfo
|
|
- name: Build
|
|
run: NODE=$(command -v node) make doc-only
|
|
- uses: actions/upload-artifact@v1
|
|
with:
|
|
name: docs
|
|
path: out/doc
|
|
- name: Check links
|
|
run: node tools/doc/checkLinks.js .
|