Skip to content

fix: bugs & lint: code #3

fix: bugs & lint: code

fix: bugs & lint: code #3

Workflow file for this run

name: Auto Build Web Artifacts
on:
push:
branches:
- main
paths:
- .github/workflows/build-app.yml
- 'apps/web/**'
- 'packages/commons/**'
- 'packages/configs/**'
pull_request:
branches:
- main
paths:
- .github/workflows/build-app.yml
- 'apps/web/**'
- 'packages/commons/**'
- 'packages/configs/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
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: pnpm web:build
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: MCSL-Future-Web
path: ./apps/web/.output