This commit is contained in:
1 parent
040ec3f382
commit
d13bdd5dc8
1 file changed
+28
@@ -0,0 +1,28 @@
|
||||
# Author: fruit.com.cn
|
||||
# ReelShortWeb 后台 CI:lint + 构建门禁
|
||||
name: web-ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [develop, main]
|
||||
pull_request:
|
||||
branches: [develop, main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
cache: pnpm
|
||||
- name: 依赖
|
||||
run: pnpm install --frozen-lockfile
|
||||
- name: 类型检查
|
||||
run: pnpm ts:check
|
||||
- name: 构建
|
||||
run: pnpm build:pro
|
||||
Reference in new issue
Block a user