Skip to content

Commit 37aa893

Browse files
committed
Improved .travis.yml
1 parent d34cf8f commit 37aa893

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

.travis.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
language: node_js
22
node_js: [node, lts/*]
3-
os: [linux, osx]
3+
os: [linux, osx]
4+
cache:
5+
npm: true
6+
yarn: true
7+
directories:
8+
- $HOME/.cache/publishimo
9+
before_deploy:
10+
- zip -9 -r bundle.zip dist
11+
- rm dist/readme.* dist/**/*.d.ts dist/**/*.map
12+
- zip -9 -r bundle-min.zip dist
13+
deploy:
14+
- provider: pages
15+
local-dir: dist-jsdoc/html
16+
fqdn: array-to-object-keys.jaid.codes
17+
skip-cleanup: true
18+
github-token: $GITHUB_TOKEN # https://github.com/settings/tokens
19+
- provider: releases
20+
files:
21+
- bundle.zip
22+
- bundle-min.zip
23+
skip-cleanup: true
24+
api-key: $GITHUB_TOKEN
25+
on: { tags: true }

0 commit comments

Comments
 (0)