config: add deployment workflow (#8)

This commit is contained in:
Manuel
2024-02-03 21:30:45 +01:00
committed by GitHub
parent 1740450648
commit b671f68b13
4 changed files with 201 additions and 115 deletions

View File

@@ -0,0 +1,13 @@
{
"name": "@alparr/semver",
"private": true,
"version": "0.1.0",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/github",
"@semantic-release/npm",
"@semantic-release/git"
]
}

View File

@@ -0,0 +1,19 @@
/**
* @type {import('semantic-release').GlobalConfig}
*/
module.exports = {
branches: ["main"],
prepare: [
"@semantic-release/changelog",
"@semantic-release/npm",
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
};