Skip to content

Commit

Permalink
Merge pull request #305 from onaio/update-dependencies
Browse files Browse the repository at this point in the history
Update dependancies
  • Loading branch information
FrankApiyo authored Jan 31, 2022
2 parents d17f01b + 7272e67 commit 5ee48da
Show file tree
Hide file tree
Showing 15 changed files with 1,030 additions and 157 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ jobs:
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
lein: 2.8.1
lein: 2.9.8

- name: Install node
uses: actions/setup-node@v2
with:
node-version: "12"

- name: Get leiningen version
run: lein -v
Expand All @@ -28,9 +33,12 @@ jobs:
lein bikeshed
lein cljfmt check
lein eastwood
lein kibit
lein midje
lein cljsbuild once dev
lein cljsbuild once prod
lein cljsbuild test
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ resources/public/js/lib
.lsp
hs_err_pid*
replay_pid*
node_modules/
test-output/
.eastwood
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/onaio/milia.svg?branch=master)](https://travis-ci.org/onaio/milia)
[![example workflow](https://github.com/onaio/milia/actions/workflows/ci.yml/badge.svg?branch=feature-1)](https://github.com/onaio/milia/actions/workflows/ci.yml)

# milia
Ona API client library in Clojure and ClojureScript
Expand Down Expand Up @@ -170,3 +170,13 @@ Convert remaining API endpoint files to cljc:
* charts
* images
* j2x
## running CLJS tests
- Install node version `12.x.x` (you can use nvm)
- Install karma cli
- `npm install -g karma-cli`
- install npm test dependencies
- `npm install karma --save-dev`
- `npm install karma-cljs-test --save-dev`
- `npm install karma-chrome-launcher --save-dev`
- Run the tests
- `lein doo chrome-headless test once` or `lein doo chrome-headless test auto`
Loading

0 comments on commit 5ee48da

Please sign in to comment.