Skip to content

Commit

Permalink
chore: semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
kudyniuk committed Oct 4, 2023
1 parent 8847722 commit 0e131c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
push:
branches: ['+([0-9])?(.{+([0-9]),x}).x', 'main', 'next', 'next-major', 'beta', 'alpha']
branches: ['release-candidate']

permissions:
contents: read # for checkout
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
],
"license": "Apache-2.0",
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "restricted"
"access": "public"
},
"engines": {
"node": ">=18.17.0"
Expand Down Expand Up @@ -82,9 +81,9 @@
},
"peerDependencies": {
"@xstyled/styled-components": "^3.8.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^5.3.3"
"react": "^18.0.0",
"react-dom": "^18.0.0",
"styled-components": "^5.0.0"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
branches: ['+([0-9])?(.{+([0-9]),x}).x', 'main', 'next', 'next-major', {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}],
branches: ['main', {name: 'release-candidate', prerelease: true}],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand Down

0 comments on commit 0e131c4

Please sign in to comment.