Skip to content

Add content version management system tutorial #44125

Add content version management system tutorial

Add content version management system tutorial #44125

Workflow file for this run

name: CI
on:
pull_request:
branches:
- production
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
compile:
name: Compiles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- uses: actions/cache/restore@v4
with:
path: |
node_modules/.astro
key: static
- run: npm ci
- run: npm run check
## TODO: formatting checks
- run: npm run build
env:
NODE_OPTIONS: "--max-old-space-size=4192"
RUN_LINK_CHECK: true
- uses: actions/cache/save@v4
with:
path: |
node_modules/.astro
key: static
- name: Check - Validate redirects (infinite loops, sources with fragment)
run: npx tsm bin/validate-redirects.ts
- name: Tests
run: npm run test