Skip to content

Merge pull request #142 from LAA-Software-Engineering/dependabot/npm_… #208

Merge pull request #142 from LAA-Software-Engineering/dependabot/npm_…

Merge pull request #142 from LAA-Software-Engineering/dependabot/npm_… #208

Workflow file for this run

name: Frontend
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- 'frontend/**'
- '!backend/**/*.md' # Exclude .md files within 'backend'
- '!backend/Makefile'
pull_request:
branches: [ "main" ]
paths:
- 'frontend/**'
- '!frontend/**/*.md' # Exclude .md files within 'backend'
- '!frontend/Makefile'
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install dependencies
run: yarn install
working-directory: ./frontend
- name: Build production bundle
run: yarn build
working-directory: ./frontend