Skip to content

Commit

Permalink
Merge branch 'main' into foodlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravindu-Hasanka authored Jul 17, 2024
2 parents 07aab4b + fecda7e commit 74c48ac
Show file tree
Hide file tree
Showing 27 changed files with 2,355 additions and 2,018 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Vite Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18' # Using LTS version of Node.js

# Install pnpm package manager
- name: Install pnpm
run: npm install -g pnpm

# Install dependencies using pnpm
- name: Install frontend dependencies
run: pnpm install --no-frozen-lockfile

# Build the project using pnpm
- name: Build frontend
env:
NODE_OPTIONS: "--max_old_space_size=4096"
run: pnpm build
Loading

0 comments on commit 74c48ac

Please sign in to comment.