Skip to content

fix: cancel in-flight animations in focusTreeInViewForCapture #203

fix: cancel in-flight animations in focusTreeInViewForCapture

fix: cancel in-flight animations in focusTreeInViewForCapture #203

Workflow file for this run

# Build Vite app and deploy to GitHub Pages
name: Deploy Vite app to Pages
on:
push:
branches: ["main"]
paths-ignore:
- "**/*.md"
- ".skills/**"
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
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:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
- name: Configure git identity
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Bump version
run: node scripts/bump-version.cjs
env:
MAX_REVISION: "9"
MAX_MINOR: "9"
- name: Build
run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Push version bump
run: |
git pull --rebase
git push && git push --tags
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@v4