ci: improve release process

This commit is contained in:
rlespinasse
2021-04-17 13:45:47 +02:00
committed by Romain Lespinasse
parent 08cd74e0fa
commit 81beb28f90
8 changed files with 5847 additions and 10588 deletions

18
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Release
on:
push:
branches:
- v*.x
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: technote-space/auto-cancel-redundant-workflow@v1
- uses: actions/checkout@v2
- run: npm install
- run: npm run all
- uses: cycjimmy/semantic-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}