Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

Commit 5aa08c1

Browse files
committed
Improve deployment definition.
1 parent 3d5173f commit 5aa08c1

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.travis.yml

+7-12
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@ git:
99
depth: 3
1010
script:
1111
- yarn validate-schema
12-
13-
jobs:
14-
include:
15-
- stage: publish
16-
node_js: "8"
17-
script: echo "publish to npm"
18-
deploy:
19-
provider: npm
20-
21-
api_key: $NPM_API_KEY
22-
on:
23-
tags: true
12+
deploy:
13+
provider: npm
14+
15+
api_key: $NPM_API_KEY
16+
on:
17+
tags: true
18+
node: "8"

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,8 @@
3030
},
3131
"devDependencies": {
3232
"ajv-cli": "^2.1.0"
33+
},
34+
"publishConfig": {
35+
"access": "public"
3336
}
3437
}

0 commit comments

Comments
 (0)