Skip to content

Commit e573179

Browse files
authored
ci: publish pr + edge releases via pkg.pr.new (#449)
1 parent bbc0551 commit e573179

File tree

3 files changed

+323
-0
lines changed

3 files changed

+323
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,31 @@ on:
1616
pull_request:
1717

1818
jobs:
19+
release-nightly:
20+
if: github.repository_owner == 'fi3ework'
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Install pnpm
27+
uses: pnpm/action-setup@v4
28+
29+
- name: Set node version to latest LTS
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: lts/*
33+
cache: 'pnpm'
34+
35+
- name: Install deps
36+
run: pnpm install
37+
38+
- name: Build
39+
run: pnpm run build
40+
41+
- name: 📦 release pkg.pr.new
42+
run: pnpm pkg-pr-new publish --compact './packages/vite-plugin-checker'
43+
1944
test:
2045
runs-on: ${{ matrix.os }}
2146
strategy:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"fast-json-stable-stringify": "^2.1.0",
4444
"knip": "^5.44.0",
4545
"lint-staged": "^11.2.6",
46+
"pkg-pr-new": "^0.0.39",
4647
"playwright-chromium": "^1.50.1",
4748
"publint": "^0.1.16",
4849
"rimraf": "^3.0.2",

0 commit comments

Comments
 (0)