mirror of
https://github.com/klxf/eda-copilot.git
synced 2025-09-21 07:33:24 +08:00
Create auto_build.yml
This commit is contained in:
parent
7e4c81f2ea
commit
77d210554e
30
.github/workflows/auto_build.yml
vendored
Normal file
30
.github/workflows/auto_build.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Auto Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 安装 Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
|
||||||
|
- name: 初始化环境
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
|
||||||
|
- name: 构建
|
||||||
|
run: |
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: 上传工件
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: eda-copilot
|
||||||
|
path: |
|
||||||
|
./build/dist/eda-copilot_*.eext
|
Loading…
x
Reference in New Issue
Block a user