Skip to content

Commit da129e6

Browse files
committed
fix: github action 构建
1 parent 43a4467 commit da129e6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,21 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 23
20+
cache: 'pnpm'
21+
22+
- name: Install pnpm
23+
run: npm install -g pnpm
24+
25+
- name: Install dependencies
26+
run: pnpm install --frozen-lockfile
27+
28+
- name: Build Nuxt application
29+
run: pnpm run build
1530

1631
- name: Set up QEMU
1732
uses: docker/setup-qemu-action@v3 # 添加 QEMU 支持跨架构构建

0 commit comments

Comments
 (0)