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 9, 2021
1 parent 452d2e8 commit b7f7dc3
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
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
Expand Up @@ -90,7 +90,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 b7f7dc3

Please sign in to comment.