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

Commit

Permalink
Fix changeset workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iamchanii committed Feb 7, 2024
1 parent cd8cb50 commit 7e31602
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
uses: changesets/action@v1
with:
version: yarn changeset version
publish: yarn publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
nmMode: hardlinks-global
nodeLinker: node-modules

npmPublishRegistry: https://registry.npmjs.com
npmAuthToken: "${NPM_TOKEN:-}"
npmAlwaysAuth: false
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"license": "MIT",
"scripts": {
"test": "yarn workspaces foreach -A run test",
"build": "yarn workspaces foreach -A run build"
"build": "yarn workspaces foreach -A run build",
"publish": "yarn workspaces foreach -A run publish"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
Expand Down
3 changes: 2 additions & 1 deletion packages/pothos-plugin-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"test": "vitest",
"build": "nanobundle build",
"postinstall": "yarn prisma generate",
"prepack": "yarn build"
"prepack": "yarn build",
"publish": "yarn npm publish"
},
"keywords": [
"effect",
Expand Down

0 comments on commit 7e31602

Please sign in to comment.