Skip to content

Commit

Permalink
chore: auto publish when merging to alpha (#727)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for react versions < 16.8.0
  • Loading branch information
huozhi committed Aug 4, 2021
1 parent 2370992 commit 20396d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- alpha
tags:
- '!*'
pull_request:
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 20396d2

Please sign in to comment.