BLOG-8 Set up gitea action #22

Merged
squid merged 4 commits from BLOG-8_set_up_gitea_action into main 2025-01-18 19:59:53 +08:00
2 changed files with 28 additions and 0 deletions
Showing only changes of commit f0e247d5e3 - Show all commits

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",
"lint": "next lint"
},
"packageManager": "pnpm@10.0.0",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2",