blog/.gitea/workflows/frontend-ci.yaml
SquidSpirit f0e247d5e3
Some checks failed
Frontend CI / build (push) Failing after 52s
BLOG-8 feat: setup gitea workflow
2025-01-18 16:33:58 +08:00

28 lines
513 B
YAML

name: Frontend CI
on: [push]
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