Skip to content

HtmlEditor

HtmlEditor #188

Workflow file for this run

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@v3
- name: Setup Node.js
uses: actions/setup-node@v3
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@v3
- name: Setup Node.js
uses: actions/setup-node@v3
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@v3
- name: Setup Node.js
uses: actions/setup-node@v3
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@v3
# - name: Setup Node.js
# uses: actions/setup-node@v3
# 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