Skip to content

feat: new frontend ci pipeline #1

feat: new frontend ci pipeline

feat: new frontend ci pipeline #1

Workflow file for this run

name: Frontend CI
on:
push:
branches:
- "**"
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Copy config file
run: cp config.example.js config.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build project (dev)
run: npm run dev
- name: Build project (prod)
run: npm run prod