Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 7e31602

Browse files
committed
Fix changeset workflow
1 parent cd8cb50 commit 7e31602

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: changesets/action@v1
3333
with:
3434
version: yarn changeset version
35+
publish: yarn publish
3536
env:
3637
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
38+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.yarnrc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
nmMode: hardlinks-global
22
nodeLinker: node-modules
3+
4+
npmPublishRegistry: https://registry.npmjs.com
5+
npmAuthToken: "${NPM_TOKEN:-}"
6+
npmAlwaysAuth: false

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"license": "MIT",
1313
"scripts": {
1414
"test": "yarn workspaces foreach -A run test",
15-
"build": "yarn workspaces foreach -A run build"
15+
"build": "yarn workspaces foreach -A run build",
16+
"publish": "yarn workspaces foreach -A run publish"
1617
},
1718
"devDependencies": {
1819
"@biomejs/biome": "1.5.3",

packages/pothos-plugin-effect/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test": "vitest",
2626
"build": "nanobundle build",
2727
"postinstall": "yarn prisma generate",
28-
"prepack": "yarn build"
28+
"prepack": "yarn build",
29+
"publish": "yarn npm publish"
2930
},
3031
"keywords": [
3132
"effect",

0 commit comments

Comments
 (0)