Skip to content

Commit 8f22736

Browse files
committed
Update publish script
1 parent 37e60bb commit 8f22736

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,15 @@ jobs:
5151
run: pnpm i
5252

5353
- name: Build project
54+
working-directory: packages/react-dialog-async
5455
run: pnpm build
5556

5657
- name: Run tests
58+
working-directory: packages/react-dialog-async
5759
run: pnpm test
5860

5961
- name: Publish the dist folder to npm
60-
run: cd dist && npm publish
62+
working-directory: packages/react-dialog-async
63+
run: npm publish --tag beta
6164
env:
6265
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/react-dialog-async/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "react-dialog-async",
3-
"description": "A promise-based way to show dialogs in React",
3+
"description": "A a hook-based API for managing dialog state in React apps, with a focus on performance and developer ergonomics",
44
"type": "module",
5-
"version": "3.0.0-beta.1",
5+
"version": "3.0.0-beta.2",
66
"sideEffects": false,
77
"main": "./dist/index.cjs",
88
"module": "./dist/index.js",

0 commit comments

Comments
 (0)