Skip to content

Commit 037e3bc

Browse files
committed
updated pkg-pr-new script
1 parent a7f5431 commit 037e3bc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
run: pnpm build
4646

4747
- name: Publish any commit / build for testing
48-
run: pnpx pkg-pr-new publish
48+
run: pnpm release.pkg-pr-new
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4951

5052
- name: Create Release Pull Request or Publish
5153
if: github.ref == 'refs/heads/main'

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"lib",
1717
"lib-types"
1818
],
19+
"repository": {
20+
"type": "git",
21+
"url": "https://github.com/qwikifiers/qwik-turnstile"
22+
},
1923
"engines": {
2024
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
2125
},
@@ -32,6 +36,7 @@
3236
"fmt.check": "prettier --check .",
3337
"fmt.staged": "pretty-quick --staged",
3438
"lint": "eslint \"src/**/*.ts*\"",
39+
"release.pkg-pr-new": "pnpm dlx pkg-pr-new@^0.0.30 publish",
3540
"release": "np",
3641
"start": "vite --open --mode ssr",
3742
"test": "echo \"No test specified\" && exit 0",

0 commit comments

Comments
 (0)