mirror of
https://github.com/thedaviddelta/lingva-scraper.git
synced 2025-10-06 00:02:43 +02:00
Added NPM publish via Travis
This commit is contained in:
24
.travis.yml
Normal file
24
.travis.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
language: node_js
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- lts/*
|
||||||
|
|
||||||
|
os: linux
|
||||||
|
|
||||||
|
dist: focal
|
||||||
|
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
|
script:
|
||||||
|
- travis_retry yarn test
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
|
- yarn build
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
- provider: npm
|
||||||
|
email: $NPM_EMAIL
|
||||||
|
api_token: $NPM_TOKEN
|
||||||
|
skip_cleanup: true
|
||||||
|
on:
|
||||||
|
tags: true
|
Reference in New Issue
Block a user