π Fix: Changing router view cause error in ResizeObserver.observe
mβ¦
#5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: [ master ] | |
paths: [ "docs/**" ] | |
concurrency: | |
group: pages | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: pnpm | |
- run: pnpm install | |
- name: Build lib | |
run: pnpm lib:build | |
- name: Build docs | |
run: pnpm docs:build | |
- uses: actions/upload-pages-artifact@v2 | |
with: | |
path: docs/.vitepress/dist | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
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@v2 |