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