Skip to content

Commit

Permalink
feat: add github release
Browse files Browse the repository at this point in the history
  • Loading branch information
coratgerl committed May 1, 2024
1 parent cc7dc38 commit c665e0f
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 65 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
- 'wobe-graphql-yoga'
- 'wobe-graphql-apollo'
- 'wobe-validator'
- 'wobe-documentation'
- 'wobe-test'

jobs:
run:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
79 changes: 39 additions & 40 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
{
"branches": [
"main"
],
"repositoryUrl": "https://github.com/palixir/wobe",
"plugins": [
"@semantic-release/npm",
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"breaking change",
"breaking changes"
]
}
}
]
],
"extends": "semantic-release-monorepo"
"branches": ["main"],
"repositoryUrl": "https://github.com/palixir/wobe",
"plugins": [
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"breaking change",
"breaking changes"
]
}
}
]
],
"extends": "semantic-release-monorepo"
}
Binary file modified bun.lockb
Binary file not shown.
47 changes: 24 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
{
"name": "main",
"version": "1.0.0",
"workspaces": ["packages/*"],
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@semantic-release/commit-analyzer": "12.0.0",
"@types/bun": "latest",
"dts-bundle-generator": "9.5.1",
"lefthook": "1.6.10",
"semantic-release": "23.0.8",
"semantic-release-monorepo": "8.0.2",
"typescript": "5.4.2"
},
"scripts": {
"build:wobe": "bun --filter './packages/wobe' build",
"ci": "bun build:wobe && bun --filter './packages/*' ci",
"format": "bun --filter './packages/*' format && biome format --write ./*.json",
"lint": "bun --filter './packages/*' lint",
"pre:commit": "biome lint ./packages --no-errors-on-unmatched && biome format --write ./packages",
"squash": "base_branch=${1:-main} && git fetch origin $base_branch && branch=$(git branch --show-current) && git checkout $branch && git reset $(git merge-base origin/$base_branch $branch) && git add -A"
}
"name": "main",
"version": "1.0.0",
"workspaces": ["packages/*"],
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@semantic-release/commit-analyzer": "12.0.0",
"@semantic-release/github": "^10.0.3",
"@types/bun": "latest",
"dts-bundle-generator": "9.5.1",
"lefthook": "1.6.10",
"semantic-release": "23.0.8",
"semantic-release-monorepo": "8.0.2",
"typescript": "5.4.2"
},
"scripts": {
"build:wobe": "bun --filter './packages/wobe' build",
"ci": "bun build:wobe && bun --filter './packages/*' ci",
"format": "bun --filter './packages/*' format && biome format --write ./*.json",
"lint": "bun --filter './packages/*' lint",
"pre:commit": "biome lint ./packages --no-errors-on-unmatched && biome format --write ./packages",
"squash": "base_branch=${1:-main} && git fetch origin $base_branch && branch=$(git branch --show-current) && git checkout $branch && git reset $(git merge-base origin/$base_branch $branch) && git add -A"
}
}

0 comments on commit c665e0f

Please sign in to comment.