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

31 lines
552 B
YAML

name: Frontend CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Change directory
run: cd frontend
- 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