diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a1bd667..a6d2361c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - alpha tags: - '!*' pull_request: @@ -50,7 +51,7 @@ jobs: CI: true - name: Release - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 7b2b36e5..7f4f5d7c 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "xo": "0.24.0" }, "peerDependencies": { - "react": "15.x.x || 16.x.x || 17.x.x" + "react": ">= 16.8.0 || 17.x.x || 18.x.x" }, "keywords": [ "babel-plugin-macros",