Skip to content

chore: improve dependabot configuration #407

chore: improve dependabot configuration

chore: improve dependabot configuration #407

Workflow file for this run

name: Build Preview Deployment
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
permissions:
contents: read
jobs:
build-preview:
if: ${{ github.event.pull_request.head.repo.full_name != github.repository && github.event.pull_request.draft == false }}
runs-on: ubuntu-latest
name: Build Preview Site
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build site
run: pnpm run docs:build
env:
CF_PAGES_BRANCH: ${{ github.head_ref }}
- name: Upload build artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: preview-build
path: docs/dist
include-hidden-files: true
if-no-files-found: error
retention-days: 1