File tree Expand file tree Collapse file tree 5 files changed +39
-69
lines changed Expand file tree Collapse file tree 5 files changed +39
-69
lines changed Original file line number Diff line number Diff line change @@ -102,47 +102,3 @@ jobs:
102102
103103 - name : Test
104104 run : pnpm test
105-
106- edge-release :
107- name : Edge Release
108- needs :
109- - lint
110- - build
111- - test
112- runs-on : ${{ matrix.os }}
113- strategy :
114- matrix :
115- os : [ubuntu-latest]
116- node : [20]
117- steps :
118- - name : Checkout codes
119- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
120-
121- - name : Setup bun
122- uses : oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
123- with :
124- bun-version : v1.3
125-
126- - name : Install pnpm
127- uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
128-
129- - name : Setup node
130- uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
131- with :
132- node-version : ${{ matrix.node }}
133- cache : pnpm
134-
135- - name : Install dependencies
136- run : pnpm install --frozen-lockfile
137-
138- - name : Release Edge
139- if : |
140- github.event_name == 'push' &&
141- !startsWith(github.event.head_commit.message, '[skip-release]') &&
142- !startsWith(github.event.head_commit.message, 'chore') &&
143- !startsWith(github.event.head_commit.message, 'release') &&
144- !startsWith(github.event.head_commit.message, 'docs')
145- run : ./scripts/release.sh
146- env :
147- NPM_TOKEN : ${{secrets.NPM_ORG_TOKEN}}
148- EDGE_RELEASE : ' true'
Original file line number Diff line number Diff line change 1+ name : nightly release
2+ on :
3+ push :
4+ branches :
5+ - ' **'
6+ tags :
7+ - ' !**'
8+ pull_request :
9+ branches :
10+ - main
11+
12+ jobs :
13+ release :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout codes
18+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
19+ with :
20+ fetch-depth : 0
21+
22+ - name : Install pnpm
23+ uses : pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
24+
25+ - name : Setup node
26+ uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
27+ with :
28+ node-version : 20
29+ cache : pnpm
30+
31+ - name : Install dependencies
32+ run : pnpm install --frozen-lockfile
33+
34+ - name : Build
35+ run : pnpm build
36+
37+ - name : Release with pkg-pr-new
38+ run : pnpm exec pkg-pr-new publish
Original file line number Diff line number Diff line change 7777 "h3" : " ^1.11.0" ,
7878 "lint-staged" : " ^16.0.0" ,
7979 "supertest" : " ^7.0.0" ,
80+ "pkg-pr-new" : " ^0.0.60" ,
8081 "typescript" : " ^5.3.0" ,
8182 "unbuild" : " ^3.0.0" ,
8283 "deno" : " ^2.5.4" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33set -xe
44
5- # Check edge release
6- if [[ ! -z ${EDGE_RELEASE} ]] ; then
7- pnpx tsx ./scripts/bump-edge
8- fi
9-
105# Update token
116if [[ ! -z ${NPM_TOKEN} ]] ; then
127 echo " //registry.npmjs.org/:_authToken=${NPM_TOKEN} " >> ~ /.npmrc
You can’t perform that action at this time.
0 commit comments