Skip to content

Build Vite Application #1

Build Vite Application

Build Vite Application #1

Workflow file for this run

name: Build Vite Application
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout Code
uses: actions/checkout@v3
# Set up Node.js and install pnpm
- name: Set up Node.js 18
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install pnpm
run: npm install -g pnpm
# Install dependencies
- name: Install Dependencies
run: pnpm install
# Run the build process
- name: Run Build
run: pnpm build
# Save build artifacts (optional)
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/