ci: update release configuration and workflows
This commit is contained in:
@@ -7,6 +7,7 @@ on:
|
|||||||
- src/**
|
- src/**
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- beta
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -69,8 +70,6 @@ jobs:
|
|||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
- name: Install semantic-release extra plugins
|
|
||||||
run: npm install --save-dev @semantic-release/changelog
|
|
||||||
- name: Download build artifact
|
- name: Download build artifact
|
||||||
uses: actions/download-artifact@v3.0.2
|
uses: actions/download-artifact@v3.0.2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ on:
|
|||||||
- '**/README.md'
|
- '**/README.md'
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- beta
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
name: lint
|
name: lint
|
||||||
|
|||||||
@@ -9,12 +9,6 @@
|
|||||||
"plugins": [
|
"plugins": [
|
||||||
"@semantic-release/commit-analyzer",
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/release-notes-generator",
|
||||||
[
|
|
||||||
"@semantic-release/changelog",
|
|
||||||
{
|
|
||||||
"changelogFile": "docs/CHANGELOG.md"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"@semantic-release/npm",
|
"@semantic-release/npm",
|
||||||
"@semantic-release/github"
|
"@semantic-release/github"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user