Skip to content

Commit fc47f4d

Browse files
authored
Merge pull request #2 from ShareChat/changeset-fix
Update access level for changeset and release workflow
2 parents 4dad6c6 + 55d2aa2 commit fc47f4d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"commit": false,
55
"fixed": [],
66
"linked": [],
7-
"access": "restricted",
7+
"access": "public",
88
"baseBranch": "main",
99
"updateInternalDependencies": "patch",
1010
"ignore": []

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
id: changesets
3030
uses: changesets/action@v1
3131
with:
32-
publish: pnpm changeset:release
33-
version: pnpm changeset:version
32+
publish: pnpm ci:release
3433
env:
3534
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"ci:publish": "pnpm publish --no-git-checks --access public",
88
"lint": "eslint . --ext .js",
9-
"changeset:version": "changeset version && git add --all",
10-
"changeset:release": "changeset publish"
9+
"ci:release": "changeset publish"
1110
},
1211
"bin": {
1312
"tw-mg": "./src/index.js"

0 commit comments

Comments
 (0)