Skip to content

Update dependency clsx to v2.1.1 - autoclosed #823

Update dependency clsx to v2.1.1 - autoclosed

Update dependency clsx to v2.1.1 - autoclosed #823

Workflow file for this run

name: Documentation
on:
pull_request:
branches: [documentation]
push:
branches: [documentation]
jobs:
checks:
if: github.event_name != 'push'
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Test build
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
yarn install --frozen-lockfile
yarn build
gh-release:
if: github.event_name != 'pull_request'
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build website
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: |
yarn install --frozen-lockfile
yarn build
# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAGES_DEPLOY_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./build