Skip to content

Commit 2b0105a

Browse files
committed
chore: add build stage for semantic release
1 parent 34489b3 commit 2b0105a

File tree

3 files changed

+67
-1601
lines changed

3 files changed

+67
-1601
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,12 @@ branches:
2626
env:
2727
global:
2828
secure: AFR8KvRS3A58pv3k96/Zuj+7pqlDUDZsQgcL+o++2zyDVXpFJpHMSGRy3qEpCiVp+k8HxXjiw+dRDBYkDOrEQXZ0gaiAVeyl+19VO0XXLw0KmCW8kRNajsg2g2b4+2CWos7JowMgqPQLJRosm0qyojiBSzKlzrW4be34PqtoCA0K6SQ6fKnge6nW9iU6yUJHm3fG4tqDNu5BB2A5PuC9KwVY51dj627faKfVvsVOpbBSH6imy9o3NsZvp5pmB3KvvH/ISxvaMh42FSM/NmIemkMsyxlS5ZOuJFKM3NvXQSBp6rUY5eUp/S4O3PzZIiNQSPbJXA2lPVkQIeiPyTX2dZ3ssHcmYZeFm3OxIlq1SNORp659K+mCAiRLuY2WyWLh6zJtedCUlN/Q1+WILm4aXNXl5RbBr3DMPhM/ELXD37Pg/JTSdgDI6NUgF/OZ2PJu/Dr76Q4gtF6BQemk8MkJ1X6Q/JZDIp4XDMB9WZHqQARk4nCqQnjJyQXoYiwsHN5cquFpdD6aMJLTzFZB3DiqcN3caEO0TfFG0adq2cvk5HfRkEs9m4oKQw9j6n1IyWtJzy/P0acoqjmFSmh5AdOchIUB/dkVWsYek4gGFIWoV6erPgUhJ1KDAVUYoXHI5Q7RQItCWtEF3BJ8J2r4ez0KoFcobpnc1OBPsnSrXdWNB04=
29+
jobs:
30+
include:
31+
- stage: release
32+
node_js: lts/*
33+
deploy:
34+
provider: script
35+
skip_cleanup: true
36+
script:
37+
- npx semantic-release@15

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"pretravis": "npm run lint && npm run clean",
2525
"travis": "npm run cover",
2626
"precommit": "lint-staged",
27-
"travis-deploy-once": "travis-deploy-once",
28-
"semantic-release": "semantic-release"
27+
"travis-deploy-once": "travis-deploy-once"
2928
},
3029
"repository": "SimenB/add-asset-html-webpack-plugin",
3130
"keywords": [
@@ -68,8 +67,7 @@
6867
"slash": "^2.0.0",
6968
"webpack": "^4.0.0",
7069
"webpack-cli": "^3.1.0",
71-
"travis-deploy-once": "^5.0.7",
72-
"semantic-release": "^15.9.15"
70+
"travis-deploy-once": "^5.0.7"
7371
},
7472
"peerDependencies": {
7573
"html-webpack-plugin": "^3.0.4"

0 commit comments

Comments
 (0)