Skip to content

Commit

Permalink
build(package): add semantic-release config
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubilmax committed Oct 16, 2024
1 parent e0505bc commit 58332af
Show file tree
Hide file tree
Showing 17 changed files with 61 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- run: pnpm install

- run: pnpm exec semantic-release --dry-run
- run: pnpm -r --workspace-concurrency=1 exec semantic-release --dry-run
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,5 @@
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/blue-api-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/blue-sdk-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/blue-sdk-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/blue-sdk-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/blue-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/bundler-sdk-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/liquidation-sdk-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/morpho-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/morpho-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/simulation-sdk-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/simulation-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/test-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/test-viem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/test-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}
4 changes: 4 additions & 0 deletions packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
}
},
"access": "public"
},
"release": {
"branches": ["main", "feat/vitest"],
"extends": "semantic-release-monorepo"
}
}

0 comments on commit 58332af

Please sign in to comment.