From 2db6debbbde3e3f1f2a393cd9f4c4d041869493c Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Wed, 31 Jul 2024 13:06:26 +0200 Subject: [PATCH] chore(ci): enable automatic next release --- .github/workflows/release.yml | 7 ++++--- package.json | 10 +++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b4c2cbf..5da5d31d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: release +name: Release CI # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -6,8 +6,9 @@ name: release on: push: - branches: - - main + branches: [main, next, beta] + pull_request: + branches: [main, next, beta] jobs: publish: diff --git a/package.json b/package.json index 0e97f6ce..6b2daa23 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,15 @@ }, "release": { "branches": [ - "main" + "main", + { + "name": "next", + "prerelease": true + }, + { + "name": "beta", + "prerelease": true + } ] }, "publishConfig": {