blog/.gitea/workflows/frontend-ci.yaml
SquidSpirit d504a0a5a8
Some checks failed
Frontend CI / build (push) Failing after 21s
BLOG-8 fix: wrong directory
2025-01-18 17:24:58 +08:00

32 lines
547 B
YAML

name: Frontend CI
on: [push]
defaults:
run:
working-directory: ./frontend
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: ESLint
run: pnpm run lint
- name: Build
run: pnpm run build