-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (35 loc) · 972 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@3.4
with:
lein: 2.9.8
- name: Install node
uses: actions/setup-node@v2
with:
node-version: "12"
- name: Get leiningen version
run: lein -v
- name: Run milia scripts
run: |
lein bikeshed
lein cljfmt check
lein eastwood
lein midje
lein cljsbuild once dev
lein cljsbuild once prod
npm install -g karma-cli
npm install karma --save-dev
npm install karma-cljs-test --save-dev
npm install karma-chrome-launcher --save-dev
lein doo chrome-headless test once