File tree 1 file changed +3
-18
lines changed
1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -19,29 +19,14 @@ jobs:
19
19
- name : Extras / Count Lines of Source Code
20
20
run : make extras/cloc
21
21
22
- - name : Install requirements
23
- run : make init
24
-
25
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
- # Build [Dev] (and Deploy)
27
- # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28
-
29
- - name : Build (dev)
30
- if : github.ref == 'refs/heads/dev'
31
- run : pnpm build:dev
32
-
33
- - name : Deploy (dev) [Copy static files over]
34
- if : github.ref == 'refs/heads/dev'
35
- run : rm -rf /var/www/app/* && mv build/* /var/www/app/
36
-
37
22
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
23
# Lint
39
24
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
40
25
- name : Lint
41
- run : pnpm lint
26
+ run : make format
42
27
43
28
- name : Check
44
- run : pnpm check
29
+ run : git diff origin HEAD --quiet
45
30
46
31
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47
32
# Build [Prod] (and Upload binary)
52
37
env :
53
38
GH_TOKEN : ${{ github.token }}
54
39
run : |
55
- RELEASE_TAG=v$(jq -r .version package.json )
40
+ RELEASE_TAG=v$(python3 sql/latest_version.py )
56
41
echo RELEASE_TAG=$RELEASE_TAG
57
42
test -n "$RELEASE_TAG"
58
43
# Test that github-cli is working
You can’t perform that action at this time.
0 commit comments