Temp setup the deploy url in feed rss to see if no more warnings #90
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: Test and Build | |
on: | |
push: | |
branches-ignore: | |
- master | |
permissions: write-all | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Install clojure tools | |
uses: DeLaGuardo/setup-clojure@12.1 | |
with: | |
cli: latest | |
- name: Verify code base format | |
run: clojure -T:cljfmt check | |
- name: Run the clj tests | |
run: clojure -M:server/test | |
- name: Run the cljs tests | |
run: clojure -M:web/test-headless | |
- name: Build main.js | |
run: clojure -T:build js-bundle | |
- name: Generate RSS feed | |
run: clojure -T:build rss-feed | |
- name: Commit js bundle and rss feed | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: | | |
resources/public/main.js | |
resources/public/blog/rss/clojure-feed.xml | |
committer_name: GitHub Action | |
default_author: github_actions | |
message: "Compile the cljs to the js bundle and update RSS feed" |