From 8426cdc2347277ad9459ff4d09681dd8557bf9b9 Mon Sep 17 00:00:00 2001 From: Shai Reznik Date: Sat, 23 Nov 2024 03:00:33 +0200 Subject: [PATCH] updated pkg-pr-new script --- .github/workflows/release.yml | 4 +++- package.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57e4b17..7724440 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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' diff --git a/package.json b/package.json index 4911cc6..a4a044a 100644 --- a/package.json +++ b/package.json @@ -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",