-
Notifications
You must be signed in to change notification settings - Fork 44
38 lines (36 loc) · 958 Bytes
/
test.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
name: Pull Request
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Clojure CLI
uses: DeLaGuardo/setup-clojure@master
with:
cli: '1.11.1.1208'
- name: Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Cache All The Things
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.npm
~/.gitlibs
~/.clojure
~/.cpcache
key: cljdeps-${{ hashFiles('deps.edn', 'package.json') }}
- name: Install node dependencies
run: npm install
- name: Install karma cli globally
run: npm install -g karma-cli
- name: Run Tests
run: clojure -T:build test