Build(deps-dev): Bump jsdom from 27.1.0 to 27.2.0 (#1080) #76
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: Docs Deployment | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - develop | |
| release: | |
| types: [released] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: npm | |
| node-version: 24 | |
| - name: Install | |
| run: npm ci | |
| - name: Generate docs | |
| run: npm run doc | |
| - name: Upload static files as artifact | |
| id: deployment | |
| uses: actions/upload-pages-artifact@v4 | |
| with: | |
| path: docs/ | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| permissions: | |
| actions: read # to read the artifact from the previous job | |
| # pages and id-token required to deploy to GitHub Pages | |
| pages: write | |
| id-token: write | |
| if: github.event_name == 'release' || github.event_name == 'workflow_dispatch' | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 |