Skip to content

Update dependency typescript to v7 #627

Update dependency typescript to v7

Update dependency typescript to v7 #627

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
packages: read
# 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-${{ github.head_ref || github.ref_name }}"
cancel-in-progress: false
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
version: 10
run_install: false
- name: Setup Node.js Environment
uses: actions/setup-node@v7
with:
node-version: 24
cache: 'pnpm'
- name: Install app dependencies
run: pnpm install
- name: Build app
run: pnpm run build
- name: Setup Pages
if: github.ref == 'refs/heads/main'
uses: actions/configure-pages@v6
- name: Upload Artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v5
with:
# Upload entire repository
path: './dist'
deploy:
if: github.ref == 'refs/heads/main'
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5