diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 11dcf142..f6b93907 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index 9b180985..d3e7566b 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,7 @@ ], "license": "Apache-2.0", "publishConfig": { - "registry": "https://npm.pkg.github.com", - "access": "restricted" + "access": "public" }, "engines": { "node": ">=18.17.0" @@ -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", diff --git a/release.config.cjs b/release.config.cjs index 4c633447..a0a5c2f7 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -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',