Skip to content

feat(og): lightbox on _og/index.html thumbnails + per-card action i… #19

feat(og): lightbox on _og/index.html thumbnails + per-card action i…

feat(og): lightbox on _og/index.html thumbnails + per-card action i… #19

Workflow file for this run

name: Build dist branch
on:
push:
branches: [main]
workflow_dispatch:
inputs:
source_ref:
description: 'Source ref to build from (default: main)'
required: false
default: 'main'
permissions:
contents: write
jobs:
build-dist:
runs-on: ubuntu-latest
steps:
- uses: runsascoded/npm-dist@v1
with:
source_ref: ${{ inputs.source_ref || 'main' }}
# Match the other workflows (autofix/test/smoke/release) which use Node 22 LTS.
# Slidev's `packages/vscode` prepare hook calls `fs.globSync` (Node 22+ only).
node_version: '22'
build_command: pnpm run build
pkgs: |
packages/client
packages/parser
packages/slidev
packages/types