Repository navigation
chore: refresh Rust license attribution for 0.3.2 #175
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 to GitHub Pages | |
| on: | |
| push: | |
| branches: [prod] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm licenses:check | |
| - run: pnpm attribution:check | |
| - run: pnpm coverage:check | |
| - run: pnpm lint | |
| - run: pnpm test | |
| - run: pnpm build | |
| - uses: actions/cache@v6 | |
| id: pw-cache | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | |
| - if: steps.pw-cache.outputs.cache-hit != 'true' | |
| run: pnpm exec playwright install chromium | |
| # OS deps are not cacheable; the runner image must not be relied on. | |
| - run: pnpm exec playwright install-deps chromium | |
| - run: pnpm exec playwright test | |
| - uses: actions/upload-pages-artifact@v5.0.0 | |
| with: | |
| path: dist | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: github-pages | |
| steps: | |
| - uses: actions/deploy-pages@v5 | |
| id: deployment |