We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7f9b9 commit 65e07deCopy full SHA for 65e07de
.travis.yml
@@ -0,0 +1,29 @@
1
+language: node_js
2
+node_js:
3
+- '6'
4
+
5
+before_install:
6
+ - stty cols 80
7
8
+env:
9
+dist: trusty
10
+sudo: required
11
+addons:
12
+ firefox: stable
13
+ chrome: stable
14
15
+before_script:
16
+- "export DISPLAY=:99.0"
17
+- "sh -e /etc/init.d/xvfb start"
18
+- sleep 3
19
+- npm install -g [email protected]
20
21
+script:
22
+- npm run build
23
24
+deploy:
25
+- provider: script
26
+ script: chmod +x ./deploy_npm.sh && ./deploy_npm.sh
27
+ skip_cleanup: true
28
+ on:
29
+ tags: true
deploy_npm.sh
@@ -0,0 +1,3 @@
+cd package
+printf "//registry.npmjs.org/:_authToken=${NPM_TOKEN}\n" >> ./.npmrc
+npm publish .
0 commit comments