Skip to content

feat: add usability check #8

feat: add usability check

feat: add usability check #8

Workflow file for this run

name: Deploy to Pages
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'src/**'
- 'public/**'
- 'index.html'
- 'package.json'
- 'vite.config.ts'
- '.github/workflows/pages-deploy.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
- name: Install Dependencies
run: bun i
- name: Build
run: bun build-only
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
deploy:
needs: build
runs-on: ubuntu-latest
concurrency:
group: 'pages'
cancel-in-progress: true
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4