Skip to content

chore(deps): bump actions/download-artifact from 7 to 8 #208

chore(deps): bump actions/download-artifact from 7 to 8

chore(deps): bump actions/download-artifact from 7 to 8 #208

Workflow file for this run

name: Check
on:
push:
branches:
- master
pull_request:
merge_group:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: VitePress build (${{ matrix.profile }})
strategy:
matrix:
profile:
- default
- vercel
- cloudflare
steps:
- uses: actions/checkout@v6
with:
# All history is required for https://vitepress.dev/reference/default-theme-last-updated
fetch-depth: 0
- uses: typst-community/setup-typst@v5
with:
typst-versions-file: scripts/typst-versions.yaml
- run: bash scripts/install-typst-local-packages.sh
- name: Restore cached fonts
# Downloading fonts is time consuming.
uses: actions/cache@v5
id: fonts-cache
with:
path: |
fonts/
key: fonts-${{ hashFiles('scripts/download-fonts.sh') }}
- name: Download fonts
if: steps.fonts-cache.outputs.cache-hit != 'true'
run: bash scripts/download-fonts.sh
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
cache: pnpm
- run: pnpm install
- run: pnpm build
env:
GH_TOKEN: ${{ github.token }} # `<SeeAlso>` requires GitHub API
VP_PROFILE: ${{ matrix.profile }}
- uses: actions/upload-artifact@v7
with:
name: ${{ matrix.profile }}-dist
path: docs/.vitepress/dist