File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 50
50
run : cd frontend && yarn install --frozen-lockfile
51
51
52
52
- name : build
53
- run : cd frontend && yarn build
53
+ run : |
54
+ just build-prepare
55
+ cd frontend && yarn build
54
56
55
57
- uses : actions/configure-pages@v5
56
58
Original file line number Diff line number Diff line change
1
+ set shell := [" /usr/bin/env" , " bash" , " -c" ]
2
+
1
3
spoilers-font := " https://github.com/istudyatuni/spoilers-ahead-font/raw/refs/heads/master/SpoilersAhead.otf"
2
4
spoilers-font-file := " frontend/public/SpoilersAhead.otf"
3
5
@@ -8,8 +10,11 @@ spoilers-font-file := "frontend/public/SpoilersAhead.otf"
8
10
# run frontend dev server
9
11
dev : download-spoilers-font (yarn " dev --host --port 8080" )
10
12
13
+ [private ]
14
+ build-prepare : download-spoilers-font minify-json
15
+
11
16
# build frontend
12
- build : download-spoilers-font minify-json (yarn-prod " build" )
17
+ build : build-prepare (yarn-prod " build" )
13
18
14
19
# run frontend in prod mode
15
20
preview : download-spoilers-font (yarn-prod " preview" )
You can’t perform that action at this time.
0 commit comments