Skip to content

Bump the npm_and_yarn group across 2 directories with 1 update #7

Bump the npm_and_yarn group across 2 directories with 1 update

Bump the npm_and_yarn group across 2 directories with 1 update #7

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies for backend
working-directory: ./backend
run: npm install
- name: Install dependencies for frontend
working-directory: ./frontend
run: npm install
- name: Build backend
working-directory: ./backend
run: npm run build --if-present
- name: Build frontend
working-directory: ./frontend
run: npm run build --if-present
# - name: Run tests for backend
# working-directory: ./backend
# run: npm test
# - name: Run tests for frontend
# working-directory: ./frontend
# run: npm test
- name: Run Docker container
run: docker-compose up --build -d