[infra] Publish to NPM via Travis
This commit sets up Travis to publish to NPM on tags, to the @novnc/novnc repository.
This commit is contained in:
parent
f6dd102a14
commit
10ab92e1ff
18
.travis.yml
18
.travis.yml
|
@ -17,4 +17,22 @@ addons:
|
|||
username: "directxman12"
|
||||
jwt:
|
||||
secure: "d3ekMYslpn6R4f0ajtRMt9SUFmNGDiItHpqaXC5T4KI0KMEsxgvEOfJot5PiFFJWg1DSpJZH6oaW2UxGZ3duJLZrXIEd/JePY8a6NtT35BNgiDPgcp+eu2Bu3rhrSNg7/HEsD1ma+JeUTnv18Ai5oMFfCCQJx2J6osIxyl/ZVxA="
|
||||
stages:
|
||||
- test
|
||||
- name: deploy
|
||||
if: tag is PRESENT
|
||||
jobs:
|
||||
include:
|
||||
- stage: deploy
|
||||
script: skip
|
||||
before_script: skip
|
||||
deploy:
|
||||
provider: npm
|
||||
email: directxman12+npm@gmail.com
|
||||
api_key:
|
||||
secure: cIidkFmvkdmdwWsqBpxyPUCzBqgK8LhPiNxTrIfhwbUunMsJep9MiiBJtv8poVYG2Y4yfiZmqGn4nfetUdc/LDctd73j+/EM4Z/NUDexVAhJ+9/qCogvpJsSQ96VQo7yBceW4E1fBM3WCU0kcGToYIVSSrwvvRDtJfeYJf2Qqw0=
|
||||
on:
|
||||
tags: true
|
||||
repo: novnc/noVNC
|
||||
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "noVNC",
|
||||
"name": "@novnc/novnc",
|
||||
"version": "0.6.1",
|
||||
"description": "An HTML5 VNC client",
|
||||
"directories": {
|
||||
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/novnc/noVNC.git"
|
||||
"url": "git+https://github.com/novnc/noVNC.git"
|
||||
},
|
||||
"author": "Joel Martin <github@martintribe.org> (https://github.com/kanaka)",
|
||||
"contributors": [
|
||||
|
@ -56,5 +56,12 @@
|
|||
"rollup": "^0.41.4",
|
||||
"rollup-plugin-node-resolve": "^2.0.0",
|
||||
"sinon-chai": "^2.8.0"
|
||||
}
|
||||
},
|
||||
"dependencies": {},
|
||||
"keywords": [
|
||||
"vnc",
|
||||
"rfb",
|
||||
"novnc",
|
||||
"websockify"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue