Skip to content

chore(backend)(deps): bump dotenv from 16.6.1 to 17.4.2 in /backend #41

chore(backend)(deps): bump dotenv from 16.6.1 to 17.4.2 in /backend

chore(backend)(deps): bump dotenv from 16.6.1 to 17.4.2 in /backend #41

Workflow file for this run

name: PR Checks
on:
pull_request:
branches:
- main
- develop
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'npm'
cache-dependency-path: backend/package-lock.json
- name: Install backend dependencies
working-directory: ./backend
run: npm ci
- name: Run linter
working-directory: ./backend
run: npm run lint --if-present || echo "No lint script found"
- name: Run tests
working-directory: ./backend
run: npm test --if-present || echo "No test script found"
- name: Check for security vulnerabilities
working-directory: ./backend
run: npm audit --audit-level=moderate
code-quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install backend dependencies
working-directory: ./backend
run: npm ci
- name: Check code formatting
working-directory: ./backend
run: npx prettier --check "src/**/*.js" || echo "No prettier config found"