[bot] synced file(s) with Wall-Brew-Co/rebroadcast #177
Workflow file for this run
This file contains 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: Clojurescript Tests | |
on: ["push", "workflow_dispatch", "pull_request"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/[email protected] | |
- name: Cache maven dependencies | |
uses: actions/cache@v3 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-${{ env.cache-name }}-clj-${{ hashFiles('**/project.clj') }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}-clj | |
- name: Cache npm dependencies | |
uses: actions/cache@v3 | |
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: Build Clojurescript | |
run: lein cljsbuild once test | |
- name: Run all tests | |
run: lein doo once | |
# This file was automatically copied and populated by rebroadcast | |
# Do not edit this file directly, instead modify the source at https://github.com/Wall-Brew-Co/rebroadcast |