Skip to content

chore: release 0.2.0 #9

chore: release 0.2.0

chore: release 0.2.0 #9

Workflow file for this run

name: Deploy site to GitHub Pages
on:
push:
branches: [main, feat/new_arch]
paths:
- '.github/workflows/pages.yml'
- 'docs/**'
- 'site/**'
- 'web/**'
- 'scripts/build-site.mjs'
- 'scripts/test-site.mjs'
- 'scripts/test-site-browser.mjs'
- 'package.json'
- 'yarn.lock'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
with:
node-version: '18'
cache: yarn
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Build documentation site
run: yarn site:build
- name: Validate site structure
run: yarn site:test
- name: Test Playground in Chrome
env:
CHROME_PATH: /usr/bin/google-chrome
run: yarn site:test:browser
- name: Configure GitHub Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4
with:
path: site-dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4