chore(deps): update actions/setup-node digest to 2499707 #119
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: ci | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - 'release-*' | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| permissions: | |
| contents: read # Baseline for actions/checkout; elevated scopes are granted per-job | |
| concurrency: | |
| group: pages-preview-${{ github.event.pull_request.number }} | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # Needed to push the PR preview to the gh-pages branch | |
| pull-requests: write # Needed to comment the preview link on the PR | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - id: configure | |
| uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6 | |
| - id: set-version | |
| name: Set documentation version | |
| run: echo "version=" >> $GITHUB_OUTPUT | |
| - run: npm ci | |
| - run: npm run build | |
| env: | |
| DOCS_VERSION: ${{ steps.set-version.outputs.version }} | |
| PAGES_BASE: ${{ format('pr-preview/pr-{0}', github.event.pull_request.number) }} | |
| - uses: rossjrw/pr-preview-action@ffa7509e91a3ec8dfc2e5536c4d5c1acdf7a6de9 # v1 | |
| if: ${{ !github.event.pull_request.head.repo.fork }} | |
| with: | |
| source-dir: .vitepress/dist |