Skip to content

Commit 9b88b36

Browse files
committed
chore: add-continuous-publish
1 parent d78305f commit 9b88b36

File tree

5 files changed

+179
-14
lines changed

5 files changed

+179
-14
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
env:
8181
NX_CLOUD_DISTRIBUTED_EXECUTION: false
8282

83+
- run: pnpm pkg-pr-new publish './packages/*' './packages/sdk-effects/*' --packageManager=pnpm
84+
8385
- name: build docs
8486
run: pnpm generate-docs
8587

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ jobs:
8383
NPM_CONFIG_PROVENANCE: 'true'
8484
NPM_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
8585

86+
- run: pnpm pkg-pr-new publish './packages/*' './packages/sdk-effects/*' --packageManager=pnpm --comment=off
87+
if: steps.changesets.outputs.published == 'false'
88+
8689
- name: Send GitHub Action data to a Slack workflow
8790
if: steps.changesets.outputs.published == 'true'
8891
uses: slackapi/[email protected]

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[![Build Status](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yaml/badge.svg)](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yaml)
1+
[![pkg.pr.new](https://pkg.pr.new/badge/OWNER/REPO)](https://pkg.pr.new/~/ForgeRock/ping-javascript-sdk)
2+
[![Build Status](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yaml/badge.svg)](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yml)
23

34
<p align="center">
45
<a href="https://github.com/ForgeRock/ping-javascript-sdk">

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
"lint-staged": "^15.0.0",
103103
"madge": "8.0.0",
104104
"nx": "21.2.3",
105+
"pkg-pr-new": "0.0.59",
105106
"playwright": "^1.47.2",
106107
"prettier": "^3.2.5",
107108
"shx": "^0.4.0",

0 commit comments

Comments
 (0)