-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (32 loc) · 1.24 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
35
36
37
38
39
40
41
42
dist: focal
language: node_js
node_js:
- '18'
- '16'
- '14'
cache:
directories:
- '$HOME/.npm'
- '.eslintcache'
if: tag IS blank # do not build tags
notifications:
slack:
secure: 'l/hPv8EsH8+nBJnX/+8NPrccpfUHwClRqG90jtESr0ZlJjDoHoBbAWcUsAtg8qD+EWHvU4SmY9lE8TM5sdCy/fCJeQ3sJEYQr9WCFjiXjt7ahma9loNnenMa72X+PjPOL+8p0LNGqLmFdbSgWU50eQ1oDxlVj0OyHxcq3m7EB2qbD6yVGvdQ6zW3vdAyuwcC+12fYmOCsgrSexbgSghV3YYQh66sjxUTxzOognJ6iIP2DmKPU1OTnBqiV9RKAU73HPpIgGwwsTtF1Sxd0lTGGS65dIsgt+38L+UkIcF8MeP83zzA023VQSaclkjdm7Tv0bj7hhqyEy02Si2D0F2/Yx9XW/tKrA70Q4VW4TiP76k8YUF9lzqB6ISHI90rV9jvxwkEWke7pf18jBWaRfAKUmn58yweUmgATvzYlwXKPHilmOUUex130Qy/UGJ+oY8QANde0I2LnQjzQ4Sfppxe0pVB3VPsdR7CUYhxUAkV8BdwhWJ0BGHEeAA1XuVi2Xv7feAMCSTnc3hIxEHVVNYRqiVfK4huLXbgUAAUm8pIcXcEm+jfzvwUofq7nE3VAvnxeoWbrytiXhaLtdOtuCDX8m5g2zVWhLLcEF9t2utrXJaFPL36GmuXxDG6AiXpGzjfXDR+iwnwtaqSPYf1l19PPV8DNhofh3p6BFss17dIDxU='
install:
- npm ci --ignore-scripts
- env -i PATH=$PATH npm rebuild
script:
# verify readme has been generated
- npm run readme
- test -z "$(git diff)"
- npm test
- npm run cover
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: script
skip_cleanup: true
script: semantic-release
on:
node_js: '16'
all_branches: true