Skip to content

Feature/remove initiate situation #248

Feature/remove initiate situation

Feature/remove initiate situation #248

Workflow file for this run

name: Build frontend
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build_frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '18.18.2'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-cache
restore-keys: |
${{ runner.OS }}-npm-cache
- name: Install Dependencies
run: cd frontend && npm ci
- name: Build Next.js
run: cd frontend && npm run build