Skip to content

Fix CHANGELOG.md

Fix CHANGELOG.md #8611

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
run_install: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- name: Build with Netlify badge
run: pnpm run build-serial
env:
VITE_SHOW_NETLIFY_BADGE: true
NODE_OPTIONS: --max_old_space_size=4096
- name: Build
run: pnpm run build-serial
env:
NODE_OPTIONS: --max_old_space_size=4096
- if: matrix.node-version == '22.x'
uses: actions/upload-artifact@v7
with:
name: playground
path: packages/playground/dist
- if: matrix.node-version == '22.x'
uses: actions/upload-artifact@v7
with:
name: docs
path: packages/docs/build
- run: pnpm test
deploy_playground_and_docs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
name: Deploy playground and docs to GitHub Pages
needs: [build]
steps:
- name: Download built playground
uses: actions/download-artifact@v8
with:
name: playground
path: dist
- name: Download built docs
uses: actions/download-artifact@v8
with:
name: docs
path: dist/docs
- name: Deploy playground + docs to GitHub Pages
uses: crazy-max/ghaction-github-pages@v5.0.0
with:
keep_history: true
target_branch: gh-pages
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}