Skip to content

Commit

Permalink
💚 修复构建 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyomotoi committed Sep 19, 2023
1 parent e5e3561 commit c49150c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/frontend-build.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,40 @@ on:
- v*

jobs:
build-frontend:
name: Build Frontend
runs-on: ubuntu-latest

steps:
- name: 🛎️ Checkout
uses: actions/checkout@v3

- name: 🚀 Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: 🚀 Setup node
uses: actions/[email protected]
with:
node-version: 18
cache: "pnpm"
cache-dependency-path: "pnpm-lock.yaml"

- name: 🔧 Install dependencies
run: pnpm install

- name: 🚧 Build dist files
run: pnpm build

- name: 📦️ Upload dist
uses: actions/upload-artifact@v3
with:
name: dist
path: nb_cli_plugin_webui/dist

release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
Expand Down

0 comments on commit c49150c

Please sign in to comment.