diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb4296d..1c0789a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,12 @@ jobs: - name: Build run: pnpm build + - name: Publish any commit / build for testing + shell: bash + 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' id: changesets diff --git a/package.json b/package.json index 983eebc..940c01d 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "playground": "MODE=dev pnpm --filter playground dev", "build": "tsx scripts/build-devtools.ts", "change": "changeset", - "release": "changeset version" + "release": "changeset version", + "release.pkg-pr-new": "cd packages/devtools && pnpm dlx pkg-pr-new publish" }, "devDependencies": { "@changesets/cli": "^2.27.11",