DocGen 23_1 result (#5420) #13405
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: [push, pull_request] | |
env: | |
nodeVersion: 14.x | |
jobs: | |
validation: | |
runs-on: ubuntu-latest | |
name: Validation docs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.nodeVersion }} | |
- name: Install dependencies | |
run: npm install | |
- name: Validation | |
run: npm run validate-docs | |
- name: Archive internal-tools artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: internal-tools-artifacts | |
path: artifacts/internal-tools/ | |
retention-days: 7 | |
build: | |
runs-on: ubuntu-latest | |
name: ContentMap | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.nodeVersion }} | |
- name: Install dependencies | |
run: npm install | |
- name: Generate ContentMaps | |
run: npm run generate-content-map | |
- name: Archive internal-tools artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: internal-tools-artifacts | |
path: artifacts/internal-tools/ | |
retention-days: 7 | |
link: | |
runs-on: ubuntu-latest | |
name: Check links | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.nodeVersion }} | |
- name: Install dependencies | |
run: npm install | |
- name: Generate ContentMaps | |
run: npm run generate-content-map | |
- name: Check links | |
run: npm run validate-links | |
- name: Archive internal-tools artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: internal-tools-artifacts | |
path: artifacts/internal-tools/ | |
retention-days: 7 | |
# modules: | |
# runs-on: ubuntu-latest | |
# name: Check modules guide | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v2 | |
# - name: Setup Node.js | |
# uses: actions/setup-node@v2 | |
# with: | |
# node-version: ${{ env.nodeVersion }} | |
# - name: Install dependencies | |
# run: npm install | |
# - name: Check modules guide | |
# run: npm run validate-modules-guide | |
# - name: Archive internal-tools artifacts | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: internal-tools-artifacts | |
# path: artifacts/internal-tools/ | |
# retention-days: 7 |