Skip to content

docs: 📝 improve getting started documentation #52

docs: 📝 improve getting started documentation

docs: 📝 improve getting started documentation #52

Workflow file for this run

name: PR CI
on:
pull_request:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
if: ${{ github.repository == 'smart-doc-group/smart-doc-group.github.io'
&& github.event.pull_request.changed_files > 0 }}
runs-on: ubuntu-latest
concurrency:
group: pr-build-${{ github.event.pull_request.number }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- uses: pnpm/action-setup@v4 # Uncomment this if you're using pnpm
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install
- name: Build with VitePress
run: pnpm docs:build