24 lines
492 B
YAML
24 lines
492 B
YAML
name: 自动打包
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 签出仓库
|
|
uses: http://139.224.201.203:3000/actions/checkout@v4
|
|
- name: 安装依赖
|
|
run: npm install
|
|
- name: 打包
|
|
run: npm run build
|
|
- name: 上传
|
|
uses: http://139.224.201.203:3000/actions/upload-artifact@v3
|
|
with:
|
|
name: ProxySubscribeHub
|
|
path: dist/ |