Bump actions/checkout from 6 to 7.0.0 (#1755) #313
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 test | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'docs/**' | |
| push: | |
| branches: | |
| - 'master' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Setup pnpm | |
| uses: actions/setup-node@v6.4.0 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' | |
| cache-dependency-path: docs/pnpm-lock.yaml | |
| - name: Install pnpm modules | |
| run: pnpm i | |
| working-directory: docs | |
| - name: Run tests | |
| run: pnpm test-check | |
| working-directory: docs | |
| - name: Build docs | |
| run: SITE_URL=https://docs.bracketapp.nl pnpm build | |
| working-directory: docs |