add jdk to ci
This commit is contained in:
parent
2aadf55a0d
commit
62be9cd1ae
1 changed files with 6 additions and 1 deletions
|
@ -1,12 +1,17 @@
|
||||||
image: node:lts
|
image: node:buster-lts
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- node_modules/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt update && apt -qqy install openjdk-11-jre-headless
|
||||||
- npm install
|
- npm install
|
||||||
- npm install -g --save-dev shadow-cljs
|
- npm install -g --save-dev shadow-cljs
|
||||||
- shadow-cljs compile test
|
- shadow-cljs compile test
|
||||||
|
|
Reference in a new issue