Skip to content

Commit bcf8312

Browse files
committed
fix rrweb publishing (#92)
remove lerna since we only need to publish one package: `@highlight-run/rrweb`
1 parent 7fd13fa commit bcf8312

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2424
- name: Publish
2525
if: github.ref == 'refs/heads/master'
26-
run: yarn lerna publish from-package -y
26+
run: |
27+
echo npmAuthToken: "$NODE_AUTH_TOKEN" >> ./.yarnrc.yml;
28+
yarn workspace @highlight-run/rrweb npm publish --access public;
2729
env:
28-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2930
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@
2828
"eslint-plugin-compat": "^4.0.2",
2929
"eslint-plugin-jest": "^26.5.3",
3030
"eslint-plugin-tsdoc": "^0.2.16",
31-
"lerna": "^4.0.0",
3231
"markdownlint": "^0.25.1",
3332
"markdownlint-cli": "^0.31.1",
3433
"turbo": "^1.2.4",
3534
"typescript": "^4.7.3"
3635
},
3736
"scripts": {
38-
"lerna": "lerna",
3937
"build:all": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references' 'yarn turbo run prepublish'",
4038
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test'",
4139
"test:watch": "yarn turbo run test:watch",

0 commit comments

Comments
 (0)