Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
52857fd
draft: tests + tests in CI
elinelgp Aug 29, 2025
95034fb
fix: lint
elinelgp Aug 29, 2025
73f8ca2
fix: lint fix again
elinelgp Aug 29, 2025
1b6f8f3
fix: lint again and again
elinelgp Aug 29, 2025
2b7725f
fix: build error
elinelgp Aug 29, 2025
0face5a
fix: zod to v4
elinelgp Aug 29, 2025
317aeef
fix: tests script in ci
elinelgp Aug 29, 2025
e012d9a
fix: install devdependencies on ci tests
elinelgp Aug 29, 2025
0e3e10c
fix: add tests files
elinelgp Aug 29, 2025
2685126
fix: lint on test files
elinelgp Aug 29, 2025
0ebf4ff
fix: only backend tests
elinelgp Aug 29, 2025
66cb2cb
fix: schemas validation tests
elinelgp Aug 29, 2025
2bb1221
fix: build shared packages
elinelgp Aug 29, 2025
2b91dd2
fix: install types jest
elinelgp Aug 29, 2025
e3ac1bd
fix: re-run job on commit
elinelgp Aug 29, 2025
fb57d50
fix: ci
elinelgp Aug 29, 2025
9017e99
fix: ci again
elinelgp Aug 29, 2025
96fe564
fix: userschema error messages
elinelgp Aug 29, 2025
8414d4a
fix: typo in test
elinelgp Aug 31, 2025
a30c7c7
fix: rss-parser import
elinelgp Aug 31, 2025
55ab47f
ci: lint and typecheck in //
elinelgp Aug 31, 2025
2367ec1
test: e2e auth test
elinelgp Sep 3, 2025
66ae689
fix: playwright in ci file
elinelgp Sep 3, 2025
61ac859
fix: playwright instead of playwright tests
elinelgp Sep 3, 2025
10adb65
fix: lint
elinelgp Sep 3, 2025
83bd20d
fix: env and docker for ci tests
elinelgp Sep 3, 2025
6585cb1
fix: ci order
elinelgp Sep 3, 2025
5887a28
test: ci fix
elinelgp Sep 3, 2025
a43a602
fix: docker for playwright in ci
elinelgp Sep 3, 2025
e7a6bbd
test: ci again
elinelgp Sep 3, 2025
4230c3c
fix: ci docker for tests
elinelgp Sep 3, 2025
0b7551a
fix: docker-compose for ci
elinelgp Sep 3, 2025
7873801
test: ci tests
elinelgp Sep 3, 2025
6e93957
test: run docker in test ci
elinelgp Sep 3, 2025
dfd5233
fix: .env
elinelgp Sep 3, 2025
b4670c3
fix: env for backend
elinelgp Sep 3, 2025
bbc5112
test: DB_HOST
elinelgp Sep 6, 2025
5757048
Merge branch 'dev' into test/backend-tests
elinelgp Sep 6, 2025
1e29752
fix: db_host in docker-compose
elinelgp Sep 6, 2025
bcb2361
test: ci changes
elinelgp Sep 6, 2025
709bedc
test: compose reset
elinelgp Sep 6, 2025
9cfb741
test: ci for tests
elinelgp Sep 6, 2025
42c9a13
test: ci tests
elinelgp Sep 6, 2025
9559621
test: ci test again
elinelgp Sep 6, 2025
578cdf9
test: ci tests
elinelgp Sep 6, 2025
2e502e3
test: scripts for ci and dev
elinelgp Sep 7, 2025
76016bd
fix: shared packages imports
elinelgp Sep 7, 2025
ba108e4
fix: jest config from ts to js
elinelgp Sep 7, 2025
3b96803
fix: rename jest config
elinelgp Sep 7, 2025
7f4c16d
fix: jest to commonJS in shared
elinelgp Sep 7, 2025
44da0b0
fix: directory for tests in ci
elinelgp Sep 7, 2025
619ce8c
fix: ci tests
elinelgp Sep 7, 2025
361bdad
fix: setup db in ci
elinelgp Sep 7, 2025
4b3b208
fix: seeder script remove
elinelgp Sep 7, 2025
c17a5bf
test: env files backend
elinelgp Sep 7, 2025
ae389ad
fix: frontend port in ci
elinelgp Sep 7, 2025
914a1b0
fix: frontend port
elinelgp Sep 7, 2025
7f41329
fix: auth e2e
elinelgp Sep 7, 2025
2e8cd04
test: fix logout test
elinelgp Sep 7, 2025
0bcfd03
fix: ci env for lighthouse
elinelgp Sep 7, 2025
0a7a6b3
fix: backend fix in lighthouse job
elinelgp Sep 7, 2025
0b9a735
refacto : ci refacto
elinelgp Sep 7, 2025
f2bb8bf
fix: timeout in playwright job
elinelgp Sep 7, 2025
b49282f
fix: node version in jobs
elinelgp Sep 7, 2025
bff17ec
fix: pnpm version in jobs
elinelgp Sep 7, 2025
91351c9
fix: pnpm version autodetect
elinelgp Sep 7, 2025
6d0ee9f
fix: pnpm version
elinelgp Sep 7, 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
32 changes: 32 additions & 0 deletions .github/actions/create-env-file/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Create Environment File
description: Create .env file with all necessary variables
runs:
using: composite
steps:
- name: Create .env file
shell: bash
env:
DB_USER: ${{ env.DB_USER }}
DB_PASSWORD: ${{ env.DB_PASSWORD }}
DB_NAME: ${{ env.DB_NAME }}
BACKEND_PORT: ${{ env.BACKEND_PORT }}
JWT_SECRET: ${{ env.JWT_SECRET }}
JWT_EXPIRATION: ${{ env.JWT_EXPIRATION }}
ALLOWED_ORIGINS: ${{ env.ALLOWED_ORIGINS }}
FRONTEND_PORT: ${{ env.FRONTEND_PORT }}
run: |
cat > .env << EOF
DB_USER=${DB_USER}
DB_PASSWORD=${DB_PASSWORD}
DB_NAME=${DB_NAME}
DB_PORT=5432
DB_HOST=localhost
BACKEND_PORT=${BACKEND_PORT}
NODE_ENV=test
JWT_SECRET=${JWT_SECRET}
JWT_EXPIRATION=${JWT_EXPIRATION}
ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
FRONTEND_PORT=${FRONTEND_PORT}
NEXT_PUBLIC_API_URL=http://localhost:${BACKEND_PORT}
DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@localhost:5432/${DB_NAME}
EOF
23 changes: 23 additions & 0 deletions .github/actions/setup-node-pnpm/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Setup Node.js and pnpm
description: Configure Node.js with pnpm and cache
inputs:
node-version:
description: Node.js version
required: false
default: 22.15.0
runs:
using: composite
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js with cache
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install dependencies
shell: bash
run: pnpm ci:install
21 changes: 21 additions & 0 deletions .github/actions/setup-services/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Setup Database and Environment
description: Configure database and create .env file
runs:
using: composite
steps:
- name: Wait for PostgreSQL
shell: bash
run: |
echo "Waiting for PostgreSQL to be ready..."
for i in {1..30}; do
if pg_isready -h localhost -p 5432 -U ${{ env.DB_USER }}; then
echo "✅ PostgreSQL is ready!"
break
fi
echo "Waiting for PostgreSQL... ($i/30)"
sleep 2
done

- name: Setup database
shell: bash
run: pnpm db:setup
Loading
Loading