Skip to content

fix: 使用 ubuntu-22.04 和 npm 安装 pnpm #12

fix: 使用 ubuntu-22.04 和 npm 安装 pnpm

fix: 使用 ubuntu-22.04 和 npm 安装 pnpm #12

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install pnpm
run: npm install -g pnpm@8
- name: Install dependencies
run: pnpm install
- name: Build frontend
run: pnpm build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: visionsub-dist
path: dist/