forked from imbytecat/fullstack-starter
ci(gitea): 新增 mise + turbo dist 构建工作流
This commit is contained in:
30
.gitea/workflows/dist.yml
Normal file
30
.gitea/workflows/dist.yml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: Build Dist
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dist:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
CI: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup mise
|
||||||
|
uses: jdx/mise-action@v2
|
||||||
|
|
||||||
|
- name: Show tool versions
|
||||||
|
run: |
|
||||||
|
mise --version
|
||||||
|
bun --version
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bun install --frozen-lockfile
|
||||||
|
|
||||||
|
- name: Run dist pipeline
|
||||||
|
run: bunx turbo run dist
|
||||||
Reference in New Issue
Block a user