Fix CLJS tests #50
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| paths-ignore: | |
| - '*.md' | |
| pull_request: | |
| paths-ignore: | |
| - '*.md' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v1 | |
| - name: Prepare java | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '8' | |
| - name: Install clojure tools | |
| uses: DeLaGuardo/[email protected] | |
| with: | |
| lein: 2.9.1 | |
| bb: latest | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Run JVM tests | |
| run: lein test | |
| - name: Run node tests | |
| run: lein doo node once | |
| - name: Run babashka tests | |
| run: | | |
| # This installs a bb dev build. Once bb is released, we can remove this and run bb test:bb instead | |
| bash <(curl https://raw.githubusercontent.com/babashka/babashka/master/install) --dev-build --dir . | |
| ./bb test:bb |