feat(og): lightbox on _og/index.html thumbnails + per-card action i…
#19
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: 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 |