Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
c6eb9e3
indentation fix
tevko Dec 19, 2024
f0d562c
change trigger again
tevko Dec 19, 2024
f3e9c33
change trigger AGAIN
tevko Dec 19, 2024
f569b63
Merge pull request #1865 from compdemocracy/te-jigsaw-gha
tevko Dec 19, 2024
d8e6465
changedir
tevko Dec 19, 2024
7a4c3f5
setup node path
tevko Dec 19, 2024
2bb33b0
change path
tevko Dec 19, 2024
c827282
remove input count
tevko Dec 19, 2024
ec94539
update path
tevko Dec 19, 2024
377cbec
add working dir
tevko Dec 19, 2024
4f39afb
indent fix
tevko Dec 19, 2024
4f2dca5
debug
tevko Dec 19, 2024
aa402c7
add google auth
tevko Dec 20, 2024
d3bbbb9
change url
tevko Dec 20, 2024
0de5f6a
change name
tevko Dec 20, 2024
378276e
modify csv
tevko Dec 20, 2024
73520ad
update file location
tevko Dec 20, 2024
d00f8a9
full path of csv
tevko Dec 20, 2024
df01b20
debug ls
tevko Dec 20, 2024
6a13612
still debug
tevko Dec 20, 2024
cc86791
rearrange command
tevko Dec 20, 2024
e6a4dd3
store in gist
tevko Dec 20, 2024
c21556d
add gh token
tevko Dec 20, 2024
5acf5cf
change file read strategy
tevko Dec 20, 2024
5af29cb
move working dir
tevko Dec 20, 2024
a9bdc3a
use diff action
tevko Dec 20, 2024
8d73993
split into multiple jobs
tevko Dec 21, 2024
b106967
disable checkout and debug
tevko Dec 21, 2024
2724e8d
faster testing haclk
tevko Dec 21, 2024
7adba33
remove debug statement
tevko Dec 21, 2024
7e945e8
add l
tevko Dec 21, 2024
e176f9a
update token
tevko Dec 21, 2024
62bc42d
debug html file
tevko Dec 21, 2024
ca3aa6c
should work
tevko Dec 21, 2024
96bbb94
implementing extremity
colinmegill Dec 23, 2024
d38dbfa
update object
tevko Dec 23, 2024
4a15dc0
remove comments
tevko Dec 23, 2024
fe89e77
add ability to filter report sections and choose model
tevko Dec 24, 2024
01e202a
improve groups analysis subtask prompt
colinmegill Dec 25, 2024
aa318a4
improve groups xml prompt
colinmegill Dec 26, 2024
337e910
revert, debug logging for extremity tid access
colinmegill Dec 26, 2024
8b1daba
probable fix for math tid extremity lookup
colinmegill Dec 28, 2024
48d3024
removing logging
colinmegill Dec 28, 2024
e069893
null check for query params in case of no section given
colinmegill Dec 28, 2024
abf3fe7
order uncertinaty last
colinmegill Dec 28, 2024
c16e94c
prettier formatting
colinmegill Dec 28, 2024
bfb65fd
up sonnet token limit to 3000 to test streaming
colinmegill Dec 28, 2024
98f584e
switch to gemini flash, up tokens to 3000
colinmegill Dec 28, 2024
d6a148f
add try catch blocks for narrative rendering errors
colinmegill Dec 28, 2024
6dd1954
update prompts to avoid percentages in text
colinmegill Dec 29, 2024
222c27f
remove "striking"
colinmegill Dec 29, 2024
6ad67c4
placeholder topics xml
colinmegill Dec 29, 2024
a3723b3
rendering topics in polis, v0.1
colinmegill Dec 30, 2024
70e9d63
fix token limit, v0.2
colinmegill Dec 30, 2024
117b194
nicer name v0.3
colinmegill Dec 30, 2024
4c8f9de
clean up folder structure
colinmegill Dec 30, 2024
0a156ac
minor prompt tweaks v0.4
colinmegill Dec 30, 2024
7c49a8e
upgrade to gemini-1206 :D
colinmegill Jan 1, 2025
a43df89
remove unused adapters for now
colinmegill Jan 1, 2025
63acd84
increase gemini tokencount
colinmegill Jan 1, 2025
d8d6d89
improve topic prompt v0.6
colinmegill Jan 1, 2025
6d04f4d
use local fork
tevko Jan 2, 2025
c9c8e6d
make dynamic topics work
tevko Jan 7, 2025
9a8d352
use gh package
tevko Jan 8, 2025
62cfc85
ignore jigsaw config
tevko Jan 13, 2025
534dae2
begin route splitting
tevko Dec 18, 2024
d18b510
finish route migration
tevko Dec 18, 2024
5dfed18
move launchPrep route
tevko Dec 18, 2024
acca6ce
math routes moved
tevko Dec 18, 2024
e5b089f
move ispam func to utils
tevko Jan 13, 2025
00b3b7c
add dataexport and more math funcs moved
tevko Jan 14, 2025
5338611
add votes and password routes
tevko Jan 14, 2025
819dad6
add sign up link to sign in page
tevko Jan 14, 2025
6eabb24
Merge pull request #1869 from compdemocracy/te-create-account
tevko Jan 14, 2025
15aa65c
prod deployment workflow (#1870)
ballPointPenguin Jan 15, 2025
8b92077
update java runtime to work with mac m3 / sequioa 15.3
tevko Jan 15, 2025
8040579
Merge Edge into Stable to upgrade PROD to latest (#1871)
ballPointPenguin Jan 15, 2025
a1038ca
Merge branch 'edge' into colinmegill/topics-experimental
colinmegill Jan 15, 2025
73d786c
remove test failing bugs
tevko Jan 15, 2025
a8917df
Merge branch 'edge' into te-server-refactor-1
tevko Jan 15, 2025
a92e522
Merge pull request #1872 from compdemocracy/te-java-clojure-docker-ma…
tevko Jan 15, 2025
2ac00ad
Merge branch 'edge' into colinmegill/topics-experimental
colinmegill Jan 15, 2025
bd99f6e
resolve tests
tevko Jan 16, 2025
d388a22
change to 17
tevko Jan 16, 2025
5485e44
remove unreachable code
tevko Jan 16, 2025
a09524d
Merge pull request #1874 from compdemocracy/te-java-clojure-docker-ma…
tevko Jan 16, 2025
ff02bd2
Merge branch 'edge' into colinmegill/topics-experimental
colinmegill Jan 16, 2025
623eeee
add todo comment
tevko Jan 16, 2025
be32830
Merge remote-tracking branch 'origin/te-server-refactor-1' into colin…
colinmegill Jan 16, 2025
dc80694
Merge branch 'edge' into te-server-refactor-1
colinmegill Jan 16, 2025
19adf7c
Merge pull request #1864 from compdemocracy/te-server-refactor-1
colinmegill Jan 16, 2025
f96d070
Merge branch 'edge' into colinmegill/topics-experimental
colinmegill Jan 16, 2025
f9388ed
docker fixes
tevko Jan 17, 2025
cdb9f57
docker compose fixes
tevko Jan 17, 2025
37739dd
relax csv comment count
tevko Jan 17, 2025
4569a45
add draft eval objectives to readme
colinmegill Jan 18, 2025
d520572
increase proxy time to 300 ngnix
colinmegill Jan 19, 2025
d9903f5
better ux if missing data
tevko Jan 20, 2025
ccedd5a
add back npmrc and update package
tevko Jan 20, 2025
c1afc69
add warning
tevko Jan 20, 2025
8bbbd48
add caching
tevko Jan 22, 2025
63813cd
store topics as well
tevko Jan 22, 2025
c565d83
enable cache invalidation and deletion of stale items
tevko Jan 23, 2025
a7e08cd
remove gh packages reference
tevko Jan 24, 2025
3e8f4e7
fix action and remove sample code
tevko Jan 27, 2025
9e2ca33
adjust formatting
tevko Jan 27, 2025
c05e834
rename jigsaw
tevko Jan 27, 2025
d8b10b7
use secrets env vars
tevko Jan 27, 2025
01a3295
update env
tevko Jan 27, 2025
c65ea05
tests
tevko Jan 27, 2025
29b7563
move env around for test
tevko Jan 27, 2025
c422fd1
add config region
tevko Jan 27, 2025
bc78d44
Merge pull request #1884 from compdemocracy/colinmegill/topics-experi…
tevko Jan 27, 2025
873724b
Update deploy-preprod.yml
tevko Jan 28, 2025
22f2085
move gcred setup
tevko Jan 28, 2025
f9c89b8
actually add variable
tevko Jan 28, 2025
e161667
add additional env
tevko Jan 28, 2025
401db37
add more env
tevko Jan 28, 2025
d982236
also pass in node env
tevko Jan 28, 2025
55bb797
add hd prefix
tevko Jan 28, 2025
b734564
env set attempt
tevko Jan 28, 2025
10bceca
missing =
tevko Jan 28, 2025
5fca25a
add config to heroku yml
tevko Jan 28, 2025
a48f338
move to prod stage
tevko Jan 28, 2025
675fb11
more config testing
tevko Jan 28, 2025
99cf747
debug
tevko Jan 28, 2025
64482d5
debuging vars
tevko Jan 28, 2025
cad5ff8
debug 2
tevko Jan 28, 2025
36a0965
add env back
tevko Jan 28, 2025
191a825
revert debug
tevko Jan 28, 2025
422c5b6
debug again
tevko Jan 28, 2025
f367417
move to release phase instead
tevko Jan 28, 2025
6b2b863
remove config
tevko Jan 28, 2025
3adf91c
add image
tevko Jan 28, 2025
fd0eaf1
copyedits
colinmegill Jan 18, 2025
de61c9e
help text
colinmegill Jan 28, 2025
0c6ca57
undo release stage
tevko Jan 28, 2025
cabc8e7
border
colinmegill Jan 28, 2025
75c724f
rip out gcreds
tevko Jan 28, 2025
3ddca46
always show writeocmmenthelptext
colinmegill Jan 28, 2025
4ea7ecd
comment
colinmegill Jan 28, 2025
0fb36be
remove more artifacts
tevko Jan 28, 2025
88d0a98
use new sensemaker strat
tevko Jan 29, 2025
2542ce1
Merge pull request #1886 from compdemocracy/colinmegill/strings-updat…
colinmegill Jan 29, 2025
35ead42
[HOTFIX] Do not de-activate comments just because strict moderation i…
ballPointPenguin Jan 29, 2025
abbc9ab
minor updates
tevko Jan 30, 2025
6bf67ff
wire in snensemaker v2 with new model and comprehensive topic -> comm…
tevko Jan 31, 2025
51cf5d4
use different models for topics & comments
tevko Feb 3, 2025
7592a74
add storage service + fail gracefully if dynamo not found
tevko Feb 4, 2025
ac1efa3
better error handling
tevko Feb 4, 2025
2befa23
Merge pull request #1885 from compdemocracy/te-remove-gcreds
tevko Feb 4, 2025
1f5e95f
make storage get awaitable
tevko Feb 4, 2025
e6710ec
add ar translation
tevko Feb 4, 2025
9af8821
uncertainty generate third
colinmegill Feb 5, 2025
5102dbc
add uncertinaty to prompt
colinmegill Feb 5, 2025
5749bed
worldviews becomes perspectives
colinmegill Feb 5, 2025
47382bd
specific overview for narrative
colinmegill Feb 5, 2025
ab754d1
sections titles
colinmegill Feb 5, 2025
5e5d490
do not de-activate comments due to strict moderation (#1888)
ballPointPenguin Feb 5, 2025
0dac389
string fix
tevko Feb 5, 2025
9646b53
specificity
colinmegill Feb 5, 2025
55483c1
better json streaming and filtering
tevko Feb 5, 2025
f4086ea
add croatian
tevko Feb 5, 2025
b33b837
Merge pull request #1898 from compdemocracy/te-json-stream-fixes
tevko Feb 5, 2025
baff7f8
fix test
tevko Feb 5, 2025
2885328
remove old croatian
tevko Feb 5, 2025
68607ac
import fix
tevko Feb 5, 2025
7817e90
rename all bs to hr
tevko Feb 5, 2025
b4bccf2
Merge pull request #1896 from compdemocracy/colinmegill/narrativeOver…
colinmegill Feb 5, 2025
0075c9f
copy edits
colinmegill Feb 6, 2025
1c83b46
Merge branch 'colinmegill/narrative-copyedit' into edge
colinmegill Feb 6, 2025
40c972c
add json schema to google
tevko Feb 6, 2025
e172884
fix tests
tevko Feb 6, 2025
e1a03a5
Merge pull request #1900 from compdemocracy/te-gemini-spec
tevko Feb 6, 2025
da7d403
add en translation
tevko Feb 7, 2025
b40d278
update es translation
tevko Feb 7, 2025
e5714c6
add burmese
tevko Feb 7, 2025
004046e
add pashto
tevko Feb 7, 2025
75b6f10
add swahili
tevko Feb 7, 2025
440160e
frix compilation error
tevko Feb 7, 2025
843b24c
another formatting fix
tevko Feb 7, 2025
5a7266d
add vietnamese
tevko Feb 7, 2025
8472c2c
fix test
tevko Feb 7, 2025
e8713ca
minor UI style requests
tevko Feb 7, 2025
facfcb3
remove no longer relevant test case
tevko Feb 7, 2025
2d058ab
Merge pull request #1901 from compdemocracy/te-translations-en
tevko Feb 7, 2025
5125da7
Merge pull request #1907 from compdemocracy/te-translations-vi
tevko Feb 7, 2025
9375e9f
Merge pull request #1902 from compdemocracy/te-translations-es
tevko Feb 7, 2025
7b7fec5
Merge branch 'edge' into te-translations-sw
tevko Feb 8, 2025
e6fa09c
Merge pull request #1895 from compdemocracy/te-translations-ar
tevko Feb 8, 2025
8d0a721
Merge pull request #1899 from compdemocracy/te-translations-bs
tevko Feb 8, 2025
6491b19
Merge branch 'edge' into te-translations-my
tevko Feb 8, 2025
ef86e4a
Merge branch 'edge' into te-translations-ps
tevko Feb 8, 2025
5efa8fc
Merge pull request #1906 from compdemocracy/te-translations-sw
tevko Feb 8, 2025
c57632a
Merge branch 'edge' into te-translations-ps
tevko Feb 8, 2025
d3695f2
Merge pull request #1905 from compdemocracy/te-translations-ps
tevko Feb 8, 2025
4bd96ad
Merge branch 'edge' into te-translations-my
tevko Feb 8, 2025
2ed917e
Merge pull request #1904 from compdemocracy/te-translations-my
tevko Feb 8, 2025
100e5b4
Merge branch 'stable' into edge
ballPointPenguin Feb 10, 2025
52652e4
Remove 'docker image builds' action (#1912)
ballPointPenguin Feb 10, 2025
31feda2
begin refactor
tevko Feb 10, 2025
5346a57
more refactor
tevko Feb 11, 2025
367bfc6
normalize model name
tevko Feb 11, 2025
efb0376
revert ui changes
tevko Feb 11, 2025
a281458
undo constant change
tevko Feb 11, 2025
18da83f
wrap topics in timer
tevko Feb 11, 2025
30e9c78
openai
colinmegill Feb 11, 2025
f019942
refactor keyvalues
tevko Feb 11, 2025
8421171
env
colinmegill Feb 11, 2025
9525e00
not markdown
colinmegill Feb 11, 2025
fc7f1d3
data norm util
tevko Feb 11, 2025
19b6965
open returns json, don't append {
colinmegill Feb 11, 2025
4b0b0ea
normalize data on server
tevko Feb 11, 2025
b0a04a8
openai default
colinmegill Feb 12, 2025
191f809
formatting
colinmegill Feb 12, 2025
33a9b65
drop checkbox functional component
colinmegill Feb 12, 2025
056cfc3
fix ol in p tag
colinmegill Feb 12, 2025
6993001
catch streaming error
colinmegill Feb 12, 2025
09d0a25
error handling, console logging report
colinmegill Feb 12, 2025
d0bffa1
dry condition
colinmegill Feb 12, 2025
81cd29c
linear slope scale gac calc
colinmegill Feb 12, 2025
454a8d9
mini for 200k tps
colinmegill Feb 12, 2025
b32997b
libpq param
colinmegill Feb 12, 2025
89c35e3
hardcode gac thresh
colinmegill Feb 12, 2025
f4e414f
make openai default
tevko Feb 12, 2025
ac98218
fix tests
tevko Feb 12, 2025
cd8fb80
Merge pull request #1916 from compdemocracy/te-nr-refactor
tevko Feb 12, 2025
2ba74b5
Merge pull request #1913 from compdemocracy/te-en-ts
tevko Feb 12, 2025
fc823a1
add cachebust param
tevko Feb 12, 2025
8fdfec5
Merge pull request #1918 from compdemocracy/te-cache-bust
colinmegill Feb 12, 2025
0c88547
remove problematic boolean for showing footer in embed (#1919)
ballPointPenguin Feb 13, 2025
8d7c650
install heroku cli within deploy-prod workflow (#1920)
ballPointPenguin Feb 13, 2025
6471651
add bosnian
tevko Feb 13, 2025
96f3b7e
Merge pull request #1921 from compdemocracy/te-translations-bs
colinmegill Feb 13, 2025
ecba2c7
Merge branch 'edge' into stable-into-edge
tevko Feb 13, 2025
40a9341
Merge pull request #1911 from compdemocracy/stable-into-edge
tevko Feb 13, 2025
6fb47e5
update regex
tevko Feb 13, 2025
40367c1
Merge pull request #1924 from compdemocracy/te-traditional-chinese-fix
colinmegill Feb 13, 2025
e9ce032
add gpt-4o
tevko Feb 14, 2025
cf6973b
Merge pull request #1925 from compdemocracy/te-gpt-4o
tevko Feb 14, 2025
ea45081
fix pid creation for users who have commented before voting
tevko Feb 16, 2025
71360fc
Merge pull request #1928 from compdemocracy/te-pid-fix
tevko Feb 16, 2025
33c9868
repair `componentDidUpdate` infinite re-rendering in client-admin (#1…
ballPointPenguin Feb 20, 2025
3bc3c87
Update en_us.js
tevko Feb 20, 2025
a489fd7
Merge pull request #1934 from compdemocracy/tevko-patch-1
tevko Feb 20, 2025
38801b1
Set math logger default to :warn, allow for MATH_LOG_LEVEL to overrid…
ballPointPenguin Feb 20, 2025
319b3e2
Increase heap size in node server
tevko Feb 23, 2025
56ed5c2
Merge pull request #1942 from compdemocracy/tevko-patch-1
tevko Feb 24, 2025
df3a091
update claude model
tevko Feb 27, 2025
178046d
Merge pull request #1946 from compdemocracy/te-claude-update
tevko Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions .github/workflows/depcheck.yml

This file was deleted.

74 changes: 74 additions & 0 deletions .github/workflows/deploy-preprod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Deploy Preprod

on:
push:
branches:
- edge

jobs:
deploy-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh

- name: Login to Heroku
uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "polis-preprod"
heroku_email: ${{secrets.HEROKU_EMAIL}}
branch: "edge"

- name: Deploy to Heroku
run: |
git push https://heroku:${{secrets.HEROKU_API_KEY}}@git.heroku.com/polis-preprod.git edge:main

deploy-static:
runs-on: ubuntu-latest
needs: deploy-backend
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{secrets.AWS_PREPROD_ROLE_ARN}}
role-session-name: GitHubActionsDeployPreprod
aws-region: us-east-1

- name: Create empty .env file
run: touch .env

- name: Build static assets
env:
EMBED_SERVICE_HOSTNAME: preprod.pol.is
ENABLE_TWITTER_WIDGETS: true
GA_TRACKING_ID: G-WVP78N35QR
SERVICE_URL: https://preprod.pol.is
run: |
docker compose create --build --force-recreate file-server
CONTAINER_ID=$(docker ps -qaf name=file-server)
docker cp ${CONTAINER_ID}:/app/build/ ./build

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install -r deploy/requirements.txt

- name: Deploy to S3
run: |
python deploy/deploy-static-assets.py --bucket edge.static-assets.pol.is
76 changes: 76 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Deploy Prod

on:
push:
branches:
- stable

jobs:
deploy-backend:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh

- name: Login to Heroku
uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "polisapp"
heroku_email: ${{secrets.HEROKU_EMAIL}}
branch: "stable"

- name: Deploy to Heroku
run: |
git push https://heroku:${{secrets.HEROKU_API_KEY}}@git.heroku.com/polisapp.git stable:main

deploy-static:
runs-on: ubuntu-latest
needs: deploy-backend
environment: production
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{secrets.AWS_PROD_ROLE_ARN}}
role-session-name: GitHubActionsDeployProd
aws-region: us-east-1

- name: Create empty .env file
run: touch .env

- name: Build static assets
env:
EMBED_SERVICE_HOSTNAME: pol.is
ENABLE_TWITTER_WIDGETS: true
GA_TRACKING_ID: G-WVP78N35QR
SERVICE_URL: https://pol.is
run: |
docker compose create --build --force-recreate file-server
CONTAINER_ID=$(docker ps -qaf name=file-server)
docker cp ${CONTAINER_ID}:/app/build/ ./build

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install -r deploy/requirements.txt

- name: Deploy to S3
run: |
python deploy/deploy-static-assets.py --bucket prod.static-assets.pol.is
31 changes: 31 additions & 0 deletions .github/workflows/jest-client-report-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Jest Tests - client report

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- 'client-report/**'

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install dependencies
run: npm install
working-directory: client-report

- name: Run Jest tests
run: npm test
working-directory: client-report
67 changes: 67 additions & 0 deletions .github/workflows/jest-server-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Jest Tests

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
- edge
paths-ignore:
- "**.md"

pull_request:
paths-ignore:
- "**.md"

jobs:
jest-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup env
run: |
cp example.env .env

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and start Docker containers
run: |
docker compose -f docker-compose.yml -f docker-compose.dev.yml --profile postgres up postgres -d --build


- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
cache-dependency-path: server/package-lock.json

- name: Setup env in server
working-directory: server
run: |
cp example.env .env

- name: Install dependencies
working-directory: server
run: npm install

- name: Build & start server
working-directory: server
run: |
npm run build
nohup npm run serve &

- name: Jest test
working-directory: server
run: npm run test

- name: Stop Docker containers
if: always()
run: docker compose -f docker-compose.yml -f docker-compose.test.yml --env-file test.env --profile postgres down
42 changes: 0 additions & 42 deletions .github/workflows/release-docker-images.yml

This file was deleted.

Loading
Loading