Skip to content

Commit

Permalink
fix: semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-marcelo-gallardo committed Mar 12, 2020
1 parent 5454a3e commit 0b54e77
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: PR Builder
on:
# push:
# branches: [ master ]
pull_request:
branches: [ master ]
# pull_request:
# branches: [ master ]

jobs:
build:
Expand All @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
node-version: 12.x

steps:
- uses: actions/checkout@v2
Expand Down
10 changes: 0 additions & 10 deletions .releaserc

This file was deleted.

40 changes: 40 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,26 @@
"predeploy": "cd examples/todomvc && npm install && npm run build",
"deploy": "gh-pages -d examples/todomvc/build"
},
"release": {
"analyzeCommits": "semantic-release-conventional-commits",
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"peerDependencies": {
"@types/react": "^16.8",
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@testing-library/react": "^9.4.0",
"@types/jest": "^23.1.5",
Expand All @@ -57,6 +71,7 @@
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-typescript2": "^0.17.0",
"semantic-release": "^17.0.4",
"semantic-release-conventional-commits": "^2.0.1",
"typescript": "^2.8.3"
},
"files": [
Expand Down

0 comments on commit 0b54e77

Please sign in to comment.