Skip to content

WIP: Rewrite

WIP: Rewrite #58

Workflow file for this run

name: Run tests
on:
push:
branches-ignore:
- master
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
steps:
- name: Checkout git repo
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- uses: s4u/[email protected]
with:
servers: |
[{"id": "github-kepler",
"username": "GITHUB",
"password": "${{secrets.GITHUB_TOKEN}}"}]
- uses: DeLaGuardo/[email protected]
with:
cli: latest
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Test clojure
run: clojure -X:test
- name: Test cljs
run: clojure -M:dev:shadow-cljs release test