BLOG-8 feat: setup gitea workflow
Some checks failed
Frontend CI / build (push) Failing after 52s

This commit is contained in:
SquidSpirit 2025-01-18 16:33:58 +08:00
parent bbfe40e521
commit f0e247d5e3
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
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

View File

@ -9,6 +9,7 @@
"start": "next start", "start": "next start",
"lint": "next lint" "lint": "next lint"
}, },
"packageManager": "pnpm@10.0.0",
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.7.2", "@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2", "@fortawesome/free-brands-svg-icons": "^6.7.2",