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
Showing only changes of commit dc73ef180b - Show all commits

View File

@ -1,25 +1,32 @@
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
with:
version: 10
run_install: false
- name: Install Node.js
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: ESLint
run: pnpm run lint