Skip to content

chore(deps-dev): bump vite in the patch-dependencies group (#104) #209

chore(deps-dev): bump vite in the patch-dependencies group (#104)

chore(deps-dev): bump vite in the patch-dependencies group (#104) #209

Workflow file for this run

name: Deploy to GitHub Pages from main
on:
push:
branches: [main]
workflow_dispatch:
workflow_call: # Allow this workflow to be called by other workflows
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
name: Build for GitHub Pages
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test
- name: Run linting
run: pnpm run lint
- name: Build package
run: pnpm run build
- name: Prepare GitHub Pages content
run: ./.github/scripts/prepare-pages.sh
- name: Setup GitHub Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "_site"
deploy:
name: Deploy to GitHub Pages from main
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
needs: build
steps:
- name: Deploy to GitHub Pages from main
id: deployment
uses: actions/deploy-pages@v4