Skip to content

Bump qs from 6.14.2 to 6.15.2 in the npm_and_yarn group across 1 directory #410

Bump qs from 6.14.2 to 6.15.2 in the npm_and_yarn group across 1 directory

Bump qs from 6.14.2 to 6.15.2 in the npm_and_yarn group across 1 directory #410

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
frontend-tests:
name: Frontend Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run frontend tests
run: node --test tests/frontend.test.js
backend-tests:
name: Backend Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run backend tests
run: node --test tests/backend.test.js
docker-build:
name: Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build -t cv-manager:test .
- name: Verify container starts
run: |
docker run -d --name cv-test -p 3000:3000 -p 3001:3001 cv-manager:test
for i in 1 2 3 4 5; do
curl -sf http://localhost:3000/api/profile && break
echo "Waiting for server to start (attempt $i)..."
sleep 3
done
curl -f http://localhost:3000/api/profile || (docker logs cv-test && exit 1)
curl -f http://localhost:3001/api/profile || (docker logs cv-test && exit 1)
docker stop cv-test