Skip to content

Commit aef8105

Browse files
committed
fix: trying to fix release issues
1 parent 4dba727 commit aef8105

File tree

2 files changed

+18
-24
lines changed

2 files changed

+18
-24
lines changed

.travis.yml

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
1+
sudo: false
12
language: node_js
2-
3-
node_js:
4-
- 8
5-
6-
cache: yarn
7-
8-
jobs:
9-
include:
10-
- stage: build
11-
script:
12-
- npx kcd-scripts build --no-clean
13-
# Define the release stage that runs semantic-release
14-
- stage: release
15-
node_js: lts/*
16-
# Advanced: optionally overwrite your default `script` step to skip the tests
17-
# script: skip
18-
deploy:
19-
provider: script
20-
skip_cleanup: true
21-
script:
22-
- npx semantic-release
3+
cache:
4+
directories:
5+
- ~/.npm
6+
notifications:
7+
email: false
8+
node_js: '8'
9+
install: npm install
10+
script: npm run test
11+
after_success: kcd-scripts travis-after-success
12+
branches:
13+
only: master

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "another-use-form-hook",
3-
"version": "0.0.0-development",
3+
"version": "0.0.0-semantically-released",
44
"maintainers": [
55
{
66
"name": "Balázs Orbán",
@@ -15,7 +15,7 @@
1515
"validation"
1616
],
1717
"description": "A React hook 🎣 for easy form handling",
18-
"main": "dist/index.js",
18+
"main": "dist/another-use-form-hook.cjs.js",
1919
"module": "dist/another-use-form-hook.esm.js",
2020
"author": "Balázs Orbán <info@balazsorban.com> (https://balazsorban.com)",
2121
"license": "MIT",
@@ -36,10 +36,13 @@
3636
"semantic-release": "^15.13.18"
3737
},
3838
"scripts": {
39-
"build": "kcd-scripts build --no-clean",
39+
"build": "kcd-scripts build --bundle",
4040
"test": "npx jest",
4141
"semantic-release": "semantic-release"
4242
},
43+
"files": [
44+
"dist"
45+
],
4346
"bugs": {
4447
"email": "info@balazsorban.com",
4548
"url": "https://github.com/balazsorban44/use-form/issues"

0 commit comments

Comments
 (0)