Skip to content

upd theming

upd theming #3

Workflow file for this run

name: Deploy Backend
on:
push:
branches: [main]
paths:
- "backend/**"
- "frontend/**"
jobs:
test-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and test backend
working-directory: ./backend
run: |
docker build --target test -t backend-test .
docker run backend-test
test-frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "npm"
cache-dependency-path: "./frontend/package-lock.json"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build