Skip to content

Commit

Permalink
fix(config): switches to semantic/git package
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 3, 2024
1 parent 0d1e044 commit 0485264
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/jest/jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
moduleFileExtensions: ['js', 'jsx', 'ts', 'tsx'],
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
'\\.(gif|ttf|eot|png|jpg|jpeg|svg)$': '<rootDir>/__mocks__/fileMock.js',
'\\.(gif|ttf|eot|png|jpg|svg)$': '<rootDir>/__mocks__/fileMock.js',
},
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
snapshotSerializers: ['@emotion/jest/serializer'],
Expand Down
8 changes: 1 addition & 7 deletions src/semantic-release/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@ module.exports = {
'@semantic-release/release-notes-generator',
'@semantic-release/github',
[
'semantic-release-github-pullrequest',
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json', 'package-lock.json'],
baseBranch: 'main',
branch: 'release',
// eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`.
message: 'chore(release): ${nextRelease.version} [skip ci]',
pullrequestBody:
// eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`.
'This is an automated pull request for release version ${nextRelease.version}.',
// eslint-disable-next-line no-template-curly-in-string -- required by `semantic-release`.
pullrequestTitle: 'chore(release): ${nextRelease.version}',
},
],
'@semantic-release/npm',
Expand Down

0 comments on commit 0485264

Please sign in to comment.