Skip to content

Commit d096817

Browse files
committed
try fixing workflow yaml too
1 parent fa3c02f commit d096817

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

Diff for: .github/workflows/test.yml

+3-18
Original file line numberDiff line numberDiff 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 origin HEAD --quiet
4530

4631
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4732
# Build [Prod] (and Upload binary)
@@ -52,7 +37,7 @@ jobs:
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

0 commit comments

Comments
 (0)