mirror of
https://github.com/Choices-js/Choices.git
synced 2024-06-05 07:22:23 +02:00
26 lines
546 B
YAML
26 lines
546 B
YAML
language: node_js
|
|
node_js:
|
|
- 10
|
|
addons:
|
|
apt:
|
|
packages:
|
|
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves
|
|
- libgconf-2-4
|
|
cache:
|
|
# Caches $HOME/.npm when npm ci is default script command
|
|
# Caches node_modules in all other cases
|
|
npm: true
|
|
directories:
|
|
- ~/.cache
|
|
install:
|
|
- npm ci
|
|
jobs:
|
|
include:
|
|
- stage: Judging bundle size
|
|
script: npm run bundlesize
|
|
|
|
- stage: Linting code
|
|
script: npm run lint
|
|
|
|
- stage: Running tests
|
|
script: npm run test |