File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,29 +19,14 @@ jobs:
1919 - name : Extras / Count Lines of Source Code
2020 run : make extras/cloc
2121
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-
3722 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3823 # Lint
3924 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4025 - name : Lint
41- run : pnpm lint
26+ run : make format
4227
4328 - name : Check
44- run : pnpm check
29+ run : git diff HEAD --quiet
4530
4631 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4732 # Build [Prod] (and Upload binary)
5237 env :
5338 GH_TOKEN : ${{ github.token }}
5439 run : |
55- RELEASE_TAG=v$(jq -r .version package.json )
40+ RELEASE_TAG=v$(python3 sql/latest_version.py )
5641 echo RELEASE_TAG=$RELEASE_TAG
5742 test -n "$RELEASE_TAG"
5843 # Test that github-cli is working
You can’t perform that action at this time.
0 commit comments