add semantic release

This commit is contained in:
Thomas Nordquist
2024-05-10 18:05:41 +02:00
parent cc9cc411f0
commit b9a5a5f1d8
4 changed files with 2458 additions and 36 deletions

View File

@@ -4,6 +4,8 @@ on:
push:
branches:
- master
- alpha
- beta
concurrency:
group: ${{ github.ref }}
@@ -30,6 +32,9 @@ jobs:
node-version: 18
- run: npm install -g yarn
- run: yarn
- run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: yarn build
- run: yarn prepare-release
- run: yarn package ${{ matrix.build.task }}