diff --git a/src/jest/jest.config.base.js b/src/jest/jest.config.base.js index 1faaf81..7b278b3 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|svg)$': '/__mocks__/fileMock.js', + '\\.(gif|ttf|eot|png|jpg|jpeg|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 4acd463..e7e66ae 100644 --- a/src/semantic-release/index.js +++ b/src/semantic-release/index.js @@ -11,6 +11,7 @@ module.exports = { '@semantic-release/changelog', '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', + '@semantic-release/github', [ 'semantic-release-github-pullrequest', { @@ -26,7 +27,6 @@ module.exports = { pullrequestTitle: 'chore(release): ${nextRelease.version}', }, ], - '@semantic-release/github', '@semantic-release/npm', ], };