Skip to content

fix: try fix build

fix: try fix build #11

name: 'Modrinth Frontend build'
on:
push:
branches:
- zhcn
paths:
- .github/workflows/frontend-build.yml
- 'apps/app/**'
- 'apps/frontend/**'
- 'packages/assets/**'
- 'packages/ui/**'
- 'packages/utils/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install PNPM
run: npm i -g pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Build website
run: cd app/frontend; pnpm build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: frontend
path: .output