Skip to content

Commit e84d27f

Browse files
committed
Fix CD
1 parent b13ec4e commit e84d27f

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

.github/workflows/continuous-deployment-workflow.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ jobs:
1313

1414
- run: git config --global --add safe.directory /__w/re-frame/re-frame
1515

16+
- name: Setup java
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: 'temurin'
20+
java-version: '24'
21+
22+
- name: Install clojure tools
23+
uses: DeLaGuardo/setup-clojure@12.5
24+
with:
25+
cli: 'latest'
26+
bb: 'latest'
27+
1628
- name: Maven cache
1729
id: maven-cache
1830
uses: actions/cache@v4
@@ -38,6 +50,11 @@ jobs:
3850
restore-keys: |
3951
${{ runner.os }}-shadow-cljs-
4052
53+
- uses: browser-actions/setup-chrome@v1
54+
id: setup-chrome
55+
with:
56+
chrome-version: 811961
57+
4158
- name: Test todomvc example
4259
working-directory: examples/todomvc
4360
run: |
@@ -50,19 +67,7 @@ jobs:
5067
npm install
5168
npm run release
5269
53-
- name: Setup java
54-
uses: actions/setup-java@v3
55-
with:
56-
distribution: 'temurin'
57-
java-version: '24'
58-
59-
- name: Install clojure tools
60-
uses: DeLaGuardo/setup-clojure@12.5
61-
with:
62-
cli: 'latest'
63-
bb: 'latest'
64-
65-
- run: bb test
70+
- run: bb test :chrome-path '"${{ steps.setup-chrome.outputs.chrome-path }}"'
6671

6772
- name: Slack notification
6873
uses: homoluctus/slatify@v2.0.1

bb.edn

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{:min-bb-version "0.4.0"
22
:deps
33
{day8/dev {:git/url "https://github.com/day8/dev.git"
4-
:git/sha "ee68b27193db92964201cbb4dcbb0e6e25890f06"}}
4+
:git/sha "f7617846597f411fd646a46b283777584a1a02bb"}}
55
:tasks
66
{:requires ([day8.dev :as dev])
77
test (do (clojure "-M:test" "compile" "browser-test")
88
(clojure "-X:test"))
99
watch-test (clojure "-M:test watch browser-test")
1010
watch-docs (clojure "-M:docs" "watch" "docs")
1111
release-docs (clojure "-M:docs" "release" "docs")
12-
clojars (do (dev/version-dotfile!)
13-
(clojure "-M:clein" "deploy"))}}
12+
clojars (clojure "-M:clein" "deploy")}}

0 commit comments

Comments
 (0)