Skip to content

Commit 3cc20d4

Browse files
committed
ci: publish via npm workspaces
1 parent 50bade8 commit 3cc20d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ jobs:
4545
npm config get registry
4646
npm whoami --registry https://registry.npmjs.org || true
4747
- name: Publish
48-
run: NODE_AUTH_TOKEN="" yarn lerna publish from-package --no-private --yes
48+
run: |
49+
NODE_AUTH_TOKEN="" npm publish --workspace=packages/browser-sdk --workspace=packages/react-native-sdk --workspace=packages/react-sdk --access public --provenance
4950
env:
5051
NPM_CONFIG_USERCONFIG: "${{ runner.temp }}/.npmrc"
51-
NPM_CONFIG_PROVENANCE: "true"
52-
NPM_CONFIG_ACCESS: "public"
5352
- name: Build docs
5453
run: yarn docs
5554
- name: Checkout docs with SSH

0 commit comments

Comments
 (0)