File tree Expand file tree Collapse file tree 3 files changed +330
-13
lines changed Expand file tree Collapse file tree 3 files changed +330
-13
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish prereleases
2
- on :
3
- push :
4
- branches :
5
- - main
2
+
3
+ on : pull_request
6
4
7
5
jobs :
8
6
release :
34
32
- name : Build
35
33
run : pnpm -F cloudflare run build
36
34
37
- - name : Update package.json version
38
- run : node .github/utils/update-version.cjs cloudflare
39
-
40
35
- name : Publish to NPM
41
- run : pnpm publish -F cloudflare --no-git-checks
42
- env :
43
- NODE_ENV : " production"
44
- NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
36
+ run : pnpm exec pkg-pr-new publish --pnpm --compact './packages/cloudflare'
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.0.0" ,
4
4
"private" : true ,
5
5
"devDependencies" : {
6
- "prettier" : " 3.3.3" ,
7
- "@playwright/test" : " 1.47.0"
6
+ "@playwright/test" : " 1.47.0" ,
7
+ "pkg-pr-new" : " ^0.0.29" ,
8
+ "prettier" : " 3.3.3"
8
9
},
9
10
"scripts" : {
10
11
"prettier:check" : " prettier --check ." ,
You can’t perform that action at this time.
0 commit comments