From 174a1868982b2ffe47a2b29162cb5f2c71ae28df Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Wed, 8 Sep 2021 22:40:55 +0800 Subject: [PATCH] chore: setup beta release --- .github/workflows/main.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68d34d37..ef5f49a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,6 +5,7 @@ on: branches: - master - alpha + - beta tags: - '!*' pull_request: @@ -51,7 +52,7 @@ jobs: CI: true - name: Release - if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha') + if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }} diff --git a/package.json b/package.json index 7bebfff4..c323eb43 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "peerDependenciesMeta": { "@babel/core": { "optional": true - } + } }, "engines": { "node": ">= 12.0.0"