Skip to content

7.2.0 release documentation #5017

7.2.0 release documentation

7.2.0 release documentation #5017

Workflow file for this run

# .github/workflows/main.yml
name: GitHub Pages
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build and Test
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '20.x'
- name: Cache Node.js modules
uses: actions/cache@v5
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install dependencies
run: npm ci
- name: Build
env:
NODE_OPTIONS: "--max-old-space-size=4096"
run: npm run build
- name: Build Offline Bundle
env:
NODE_OPTIONS: "--max-old-space-size=4096"
run: npm run build:offline
- name: Check Links
run: npm run check-links
- name: Deploy
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
cname: 'docs.128technology.com'
- name: Event
if: github.event_name == 'workflow_dispatch'
run: echo "Triggered by Workflow Action"