Skip to content

Build and Deploy

Build and Deploy #11

Workflow file for this run

name: Build and Deploy
on: [ push ]
defaults:
run:
working-directory: ./frontend
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build with Vite
run: npm run build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ethonline-2023-build-${{ github.run_id }}
path: ./frontend/dist/