Skip to content

docs(webapi): update alpha guides and fix broken links [Codex] #2490

docs(webapi): update alpha guides and fix broken links [Codex]

docs(webapi): update alpha guides and fix broken links [Codex] #2490

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Setup Node.js
uses: actions/setup-node@v7
with:
node-version: "26"
- name: Install dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Rebuild ReScript code
run: npm run build
- name: Check public feature builds
run: npm run check:features
- name: Verify packed consumers
run: npm run check:consumer
- name: Run negative compiler consumers
run: npm run test:negative
- name: Run tests
run: npm test
- name: Install Chromium
run: npx playwright install --with-deps chromium
- name: Run browser tests
run: npm run test:browser
- name: Build documentation
run: npm run build:docs
- name: Check documentation links
run: npm run check:docs-links
- name: Upload documentation
uses: actions/upload-pages-artifact@v5
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
path: ./dist
deploy-docs:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5