Skip to content

this is a new version of frontend #20

this is a new version of frontend

this is a new version of frontend #20

Workflow file for this run

name: Tests CI
on:
pull_request:
branches: ['master']
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies from Backend package.json
run: (cd backend && npm ci)
- name: Run Backend test
run: (cd backend && npm run test && npm run test:cucumber)
- name: Install dependencies from Frontend package.json
run: (cd frontend && npm ci)
- name: Run Frontend test
run: (cd frontend && npm run test)
- name: Build Backend
run: (cd backend && npm run build)
- name: Build Frontend
run: (cd frontend && npm run build)