Skip to content

Commit

Permalink
Merge pull request #43 from akanoce/chore-semantic-release
Browse files Browse the repository at this point in the history
chore: semnatic-release on CI
  • Loading branch information
akanoce authored Jun 9, 2024
2 parents f404e7e + f5ae87f commit 9fadbe8
Show file tree
Hide file tree
Showing 4 changed files with 2,255 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"fixed": [],
"createGithubReleases": true,
"linked": [],
"commit": false,
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Install Dependencies
run: yarn

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release

- name: Create Release Pull Request
uses: changesets/action@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"build": "turbo run build",
"prepare": "husky",
"lint": "turbo run lint",
"release": "yarn semantic-release",
"publish-packages": "turbo run build && changeset version && changeset publish"
},
"engines": {
Expand All @@ -26,7 +27,8 @@
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"husky": "^9.0.11",
"prettier": "^3.3.1"
"prettier": "^3.3.1",
"semantic-release": "^24.0.0"
},
"dependencies": {
"@changesets/cli": "^2.27.5",
Expand Down
Loading

0 comments on commit 9fadbe8

Please sign in to comment.