diff --git a/src/jest/jest.config.base.js b/src/jest/jest.config.base.js index 7b278b3..64ff148 100644 --- a/src/jest/jest.config.base.js +++ b/src/jest/jest.config.base.js @@ -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)$': '/__mocks__/fileMock.js', + '\\.(gif|ttf|eot|png|jpg|svg)$': '/__mocks__/fileMock.js', }, setupFilesAfterEnv: ['/jest.setup.js'], snapshotSerializers: ['@emotion/jest/serializer'], diff --git a/src/semantic-release/index.js b/src/semantic-release/index.js index e7e66ae..b62e67d 100644 --- a/src/semantic-release/index.js +++ b/src/semantic-release/index.js @@ -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',