Skip to content

Commit 8921c84

Browse files
committed
Refactor workflows
Signed-off-by: Ryan Wang <i@ryanc.cc>
1 parent 41b3a10 commit 8921c84

5 files changed

Lines changed: 41 additions & 140 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CD
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
cd:
10+
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v3
11+
secrets:
12+
halo-pat: ${{ secrets.HALO_PAT }}
13+
permissions:
14+
contents: write
15+
with:
16+
node-version: "20"
17+
pnpm-version: "10"
18+
app-id: app-YXyaD
19+
ui-path: "."

.github/workflows/ci.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
ci:
13+
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v3
14+
with:
15+
node-version: "20"
16+
pnpm-version: "10"
17+
ui-path: "."

.github/workflows/workflow.yaml

Lines changed: 0 additions & 138 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@
2828
"prettier": "^3.2.5",
2929
"typescript": "~5.3.3",
3030
"vite": "^5.1.4"
31-
}
31+
},
32+
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
3233
}

pnpm-workspace.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
packages:
2-
- 'packages/**'
2+
- packages/**
3+
onlyBuiltDependencies:
4+
- esbuild

0 commit comments

Comments
 (0)