Skip to content

fix: 修正 GitHub Pages 部署目标为 test-app 示例 #8

fix: 修正 GitHub Pages 部署目标为 test-app 示例

fix: 修正 GitHub Pages 部署目标为 test-app 示例 #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.15.0
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build main package
run: pnpm build
- name: Build test app
run: pnpm test:build
- name: Check package contents
run: |
cd packages/vreo
ls -la lib/
echo "✓ Build artifacts verified"