Skip to content

Commit ce79a77

Browse files
authored
refactor: release process cleanup (#150)
1 parent ce10ba8 commit ce79a77

File tree

3 files changed

+78
-3252
lines changed

3 files changed

+78
-3252
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ on:
33
push:
44
branches:
55
- master
6-
- '1.x'
6+
- beta
7+
- 1.x
78
pull_request:
89
paths-ignore:
910
- '.gitignore'
@@ -41,7 +42,7 @@ jobs:
4142
publish-module:
4243
name: 'Publish Module to NPM on Node ${{ matrix.node }} and ${{ matrix.os }}'
4344
needs: build
44-
if: github.repository == 'react-hook-form/resolvers' && (github.ref =='refs/heads/master' || github.ref == 'refs/heads/1.x')
45+
if: github.repository == 'react-hook-form/resolvers' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/1.x')
4546
runs-on: ubuntu-latest
4647
steps:
4748
- name: Checkout repo

package.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@
128128
"prettier": "^2.2.1",
129129
"react": "^17.0.1",
130130
"react-hook-form": "^6.13.1",
131-
"semantic-release": "^17.3.1",
132131
"superstruct": "^0.13.1",
133132
"ts-jest": "^26.4.4",
134133
"typescript": "^4.1.3",
@@ -139,12 +138,6 @@
139138
"peerDependencies": {
140139
"react-hook-form": ">=6.6.0"
141140
},
142-
"release": {
143-
"branches": [
144-
"1.x",
145-
"master"
146-
]
147-
},
148141
"husky": {
149142
"hooks": {
150143
"pre-commit": "yarn lint:types && lint-staged"

0 commit comments

Comments
 (0)