mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
21 lines
488 B
YAML
21 lines
488 B
YAML
dist: xenial
|
|
language: node_js
|
|
node_js:
|
|
- '15'
|
|
- '16'
|
|
- '17'
|
|
env:
|
|
- PORT=35000 MYSQL_HOST='localhost' MYSQL_PASSWORD='' MYSQL_USERNAME='root' MYSQL_DATABASE='pigallery2_test'
|
|
services:
|
|
- mysql
|
|
addons:
|
|
chrome: stable
|
|
before_install:
|
|
- # start your web application and listen on `localhost`
|
|
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
|
install:
|
|
- npm ci
|
|
- npm run build
|
|
- npm run lint
|
|
after_success: npm run coverage
|