feat(release.config.cjs): initial configuration file for semantic-release
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -3,6 +3,7 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
# TODO: This branch is for PR testing purposes, update to "main" if we proceed with this PR.
|
||||||
- ruetz-automate-releases
|
- ruetz-automate-releases
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["Lint", "Run acceptance tests"]
|
workflows: ["Lint", "Run acceptance tests"]
|
||||||
@@ -39,5 +40,4 @@ jobs:
|
|||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
run: npx semantic-release
|
||||||
run: npx semantic-release --branches ruetz-automate-releases --dry-run
|
|
||||||
|
|||||||
14
release.config.cjs
Normal file
14
release.config.cjs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* @type {import('semantic-release').GlobalConfig}
|
||||||
|
*/
|
||||||
|
module.exports = {
|
||||||
|
// TODO: This branch is for PR testing purposes, update to "main" if we proceed with this PR.
|
||||||
|
branches: ["ruetz-automate-releases"],
|
||||||
|
// TODO: Remove `dryRun` configuration if we proceed with this PR.
|
||||||
|
dryRun: true,
|
||||||
|
plugins: [
|
||||||
|
"@semantic-release/commit-analyzer",
|
||||||
|
"@semantic-release/release-notes-generator",
|
||||||
|
"@semantic-release/github",
|
||||||
|
],
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user