1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 10:23:39 +02:00

Add circleci config

This commit is contained in:
heyarne 2019-03-12 09:37:55 +01:00
commit f0324a236d
3 changed files with 30 additions and 5 deletions

25
.circleci/config.yml Normal file
View file

@ -0,0 +1,25 @@
version: 2
jobs:
test:
working_directory: ~/repo
docker:
- image: circleci/openjdk:11-jdk-stretch-node-browsers
environment:
- CHROME_BIN: "/usr/bin/google-chrome"
steps:
- checkout
- restore_cache:
keys:
- build_cache-{{ checksum "package.json" }}-{{ checksum "shadow-cljs.edn" }}
- run: npm install
- run: npm run test
- save_cache:
paths:
- node_modules
- ~/.m2
key: build_cache-{{ checksum "package.json" }}-{{ checksum "shadow-cljs.edn" }}
workflows:
version: 2
test:
jobs:
- test