[Dependencies]: Bump the dependencies-dev group with 6 updates #31
This file contains hidden or 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: Deploy Demo to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-demo: | |
| name: Build Demo | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v6 | |
| - name: Set-up Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build Demo | |
| run: pnpm demo:build | |
| - name: Upload Build Artifact | |
| uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: demo/dist/ | |
| deploy-docs: | |
| name: Deploy Demo | |
| needs: build-demo | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Deployment | |
| id: deployment | |
| uses: actions/deploy-pages@v5 |