fix: session tokens ttl on home-server e2e suite

This commit is contained in:
Karol Sójko
2023-05-24 13:56:09 +02:00
parent ad26b64b28
commit ec75795a02
+2
View File
@@ -83,6 +83,8 @@ jobs:
sed -i "s/AUTH_JWT_SECRET=/AUTH_JWT_SECRET=$(openssl rand -hex 32)/g" packages/home-server/.env
sed -i "s/ENCRYPTION_SERVER_KEY=/ENCRYPTION_SERVER_KEY=$(openssl rand -hex 32)/g" packages/home-server/.env
sed -i "s/PSEUDO_KEY_PARAMS_KEY=/PSEUDO_KEY_PARAMS_KEY=$(openssl rand -hex 32)/g" packages/home-server/.env
echo "ACCESS_TOKEN_AGE=4" >> packages/home-server/.env
echo "REFRESH_TOKEN_AGE=7" >> packages/home-server/.env
- name: Run Server
run: nohup yarn workspace @standardnotes/home-server start &