Skip to content

Commit 81e03cb

Browse files
committed
ci: add nightly releases with pkg-pr-new
1 parent d194c55 commit 81e03cb

3 files changed

Lines changed: 173 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,22 @@ jobs:
5757
uses: codecov/codecov-action@v5
5858
env:
5959
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
60+
61+
release:
62+
runs-on: ubuntu-latest
63+
steps:
64+
- uses: actions/checkout@v4
65+
- run: corepack enable
66+
- uses: actions/setup-node@v4
67+
with:
68+
node-version: lts/*
69+
cache: pnpm
70+
71+
- name: 📦 Install dependencies
72+
run: pnpm install --frozen-lockfile
73+
74+
- name: 🛠 Build project
75+
run: pnpm build
76+
77+
- name: 🌃 publish nightly release
78+
run: pnpm pkg-pr-new publish --compact

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"installed-check": "9.3.0",
8383
"lint-staged": "16.1.5",
8484
"nuxt": "4.0.3",
85+
"pkg-pr-new": "0.0.54",
8586
"simple-git-hooks": "2.13.1",
8687
"typescript": "5.9.2",
8788
"vitest": "3.2.4",

0 commit comments

Comments
 (0)