Skip to content

Merge pull request #89 from nnichols/dependencies/nnichols-clojure-li… #149

Merge pull request #89 from nnichols/dependencies/nnichols-clojure-li…

Merge pull request #89 from nnichols/dependencies/nnichols-clojure-li… #149

Workflow file for this run

name: Clojure and ClojureScript CI
on: ["push", "workflow_dispatch"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4.2.2
- name: Cache maven dependencies
uses: actions/cache@v4
env:
cache-name: cache-maven
with:
path: ~/.m2
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
- name: Cache npm dependencies
uses: actions/cache@v4
env:
cache-name: cache-npm
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Clojure/ClojureScript dependencies
run: lein deps
- name: Install node.js dependencies
run: npm install
- name: Run tests
run: lein test-build