Skip to content

UNIFY-11: ClojureScript Support #3

UNIFY-11: ClojureScript Support

UNIFY-11: ClojureScript Support #3

Workflow file for this run

name: ClojureScript Test
on: [push]
jobs:
cljs-test:
name: ClojureScript Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: DeLaGuardo/[email protected]
with:
tools-deps: '1.10.1.763'
- name: Cache maven
uses: actions/cache@v2
env:
cache-name: cache-maven
with:
path: ~/.m2
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Cache gitlibs
uses: actions/cache@v2
env:
cache-name: cache-gitlibs
with:
path: ~/.gitlibs
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/deps.edn') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
- name: Build tests
run: clojure -M:test:cljs-build
- name: Run tests
run: |
node target/test.js | tee test-out.txt
grep -qxF '0 failures, 0 errors.' test-out.txt