Skip to content

Commit

Permalink
updated pkg-pr-new script
Browse files Browse the repository at this point in the history
  • Loading branch information
shairez committed Nov 23, 2024
1 parent a7f5431 commit 8426cdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
run: pnpm build

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

- name: Create Release Pull Request or Publish
if: github.ref == 'refs/heads/main'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"fmt.check": "prettier --check .",
"fmt.staged": "pretty-quick --staged",
"lint": "eslint \"src/**/*.ts*\"",
"release.pkg-pr-new": "pnpm dlx pkg-pr-new@^0.0.30 publish --compact",
"release": "np",
"start": "vite --open --mode ssr",
"test": "echo \"No test specified\" && exit 0",
Expand Down

0 comments on commit 8426cdc

Please sign in to comment.