-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (26 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dist: focal
language: node_js
node_js:
- '18'
- '16'
- '14'
cache:
directories:
- '$HOME/.npm'
if: tag IS blank # do not build tags
notifications:
slack:
secure: 'C6fyNKjAihy7g3G9kB737UTTjy+6/r7QzJEA0Vj4/umCz/58xxRGklA7tgcCjFq4/PpRvOTMx554frUrlRzyjnVNAYglKALM7IDhfTob7DqWyx4HLuo/a5FsVAM9I5Npyg2Mtg2sr6eGW7UnSFzHTZf8GXYwt457Osq3tt8jeCerTXmCtgbkPSAYCBdJLWn0xEIwGm8qCVk8+L8V7rdPdXNI7Tkqvkc/Jda1AtymJAznW32bWSbCqZd4GJisMVAhNlRphjCPgmj9W/DKx8yU8jsv+n7YTN2aHv3jKrC8U8UEFSuybH0uC6IenL8Y0H0JcBhWmf+OGQL3gd2shi0tAFdsE1JM04jYngeyIEZfCVZ6F51q4zB0gaP4O7zf+ebpbBor0bjhsmzpaaMlQ78jeFr3/0cNHj+luz9e2oCV5paicXOiQNrtE+uIZCGSrLhY0E/c0uRAFh7ZNf/cYmWA6Cmq4/LIBZ3oZAI0bo1NeN40fLJ9IeGk3KwslnHZdD1XjPOrZ1Ngom3Qt0RcVkrqo2BzaM3iRPBXmjh71+H3h7TzkgQzz7/5tQbgUAWEHzJuu0MoqVn2xxx1dW+AfxIGkAa5exL2ltSbcK/p66lFIhSB749K6iD1KFOUFoR+orMhEWBj5J/KBScXmd26cU5eJuQJITKI4Py9FlVZnbt6zgI='
install:
- npm ci --ignore-scripts
- env -i PATH=$PATH GH_TOKEN='' npm rebuild
script:
- prettier --check .
- sort-package-json --check
deploy:
provider: script
skip_cleanup: true
script: NPM_TOKEN=$GH_TOKEN semantic-release
on:
node_js: '18'
all_branches: true