mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
43 lines
583 B
YAML
43 lines
583 B
YAML
language: node_js
|
|
node_js:
|
|
- "10"
|
|
|
|
services:
|
|
- docker
|
|
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
|
|
before_install:
|
|
- npm install -g npm
|
|
- npm install -g release-it greenkeeper-lockfile ganache-cli@~6.1.8
|
|
|
|
before_script:
|
|
- greenkeeper-lockfile-update
|
|
- ganache-cli > ganache-cli.log &
|
|
- sleep 2
|
|
|
|
script:
|
|
- npm run test:cover
|
|
- npm run build
|
|
- npm run doc
|
|
|
|
after_script:
|
|
- greenkeeper-lockfile-upload
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
deploy:
|
|
- provider: npm
|
|
email: "devops@oceanprotocol.com"
|
|
api_key: ${NPM_TOKEN}
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|
|
|