Skip to content

Commit

Permalink
chore: configure semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
ngalaiko committed Sep 4, 2024
1 parent db7c9b9 commit 72a2bd3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 195 deletions.
2 changes: 1 addition & 1 deletion .releaserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
},
],
"@semantic-release/github",
"semantic-release-yarn",
"@semantic-release/npm",
[
"@semantic-release/release-notes-generator",
{
Expand Down
2 changes: 1 addition & 1 deletion .sage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ func GitVerifyNoDiff(ctx context.Context) error {
func Release(ctx context.Context) error {
sg.Logger(ctx).Println("releasing...")
sg.Deps(ctx, InstallImmutable)
cmd := sg.Command(ctx, "yarn", "semantic-release", "--ci")
cmd := sg.Command(ctx, "yarn", "semantic-release")
return cmd.Run()
}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"content-security-policy"
],
"publishConfig": {
"registry": "https://europe-west1-npm.pkg.dev/e-npm-registry-prod/npm"
"access": "public",
"provenance": true
},
"dependencies": {
"chalk": "^5.3.0",
Expand All @@ -38,12 +39,9 @@
"@einride/eslint-plugin": "7.9.0",
"@einride/prettier-config": "^2.1.0",
"@einride/tsconfig": "^2.1.1",
"concurrently": "8.2.2",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "8.57.0",
"prettier": "3.3.3",
"semantic-release": "^24.0.0",
"semantic-release-yarn": "^3.0.2",
"typescript": "^5.5.4"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit 72a2bd3

Please sign in to comment.