Skip to content

test

test #66

Workflow file for this run

---
name: front
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Change directory to 'server'
run: cd server
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm start &
- run: npm test
security-scans:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Scan dependencies for security vulnerabilities
run: |
npm install -g snyk
snyk auth ${{ secrets.SNYK_TOKEN }}
snyk test