-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24a0751
commit f11a51c
Showing
28 changed files
with
2,359 additions
and
2,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.