lix-website/themes/lix/assets/bootstrap/node_modules/ci-env/.drone.yml
2024-04-26 22:49:34 -06:00

28 lines
504 B
YAML

# config for drone < v0.4
# see https://github.com/drone/drone/blob/v0.3.0/.drone.yml for example
image: node:10
env:
- NODE_ENV=development
- NPM_CONFIG_LOGLEVEL=warn
script:
- env | sort
- npm install
- npm run test
# config for drone > v0.4
build:
test:
image: node:10
environment:
- NODE_ENV=development
- NPM_CONFIG_LOGLEVEL=warn
commands:
- env | sort
- npm install
- npm run test
when:
event:
- pull_request
- push