add semantic release

This commit is contained in:
Thomas Nordquist
2024-05-10 18:05:41 +02:00
parent cc9cc411f0
commit b9a5a5f1d8
4 changed files with 2458 additions and 36 deletions

20
release.config.js Normal file
View File

@@ -0,0 +1,20 @@
module.exports = {
branches: ['master', { name: 'beta', prerelease: true }, { name: 'alpha', prerelease: true }],
plugins: [
'@semantic-release/commit-analyzer',
'semantic-release-export-data',
'@semantic-release/changelog',
[
'@semantic-release/npm',
{
npmPublish: false,
},
],
[
'@semantic-release/git',
{
assets: ['package.json', 'yarn.lock'],
},
],
],
}