Migrate CI workflows from master to main branch. #10
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: ClojureScript Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Java 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Setup Clojure | |
| uses: DeLaGuardo/setup-clojure@12.1 | |
| with: | |
| lein: 'latest' | |
| - name: Compile ClojureScript | |
| run: lein cljsbuild once prod | |
| - name: Verify output file exists | |
| run: test -f target/cljs/leipzig.js |