This commit is contained in:
27
.gitea/workflows/build.yml
Normal file
27
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
name: Build Frontend
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v2
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20.9.0'
|
||||||
|
cache: pnpm
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm build
|
||||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -46,3 +46,8 @@ public/git-info.json
|
|||||||
public/git-info.json
|
public/git-info.json
|
||||||
public/git-info.json
|
public/git-info.json
|
||||||
/.next - Copy
|
/.next - Copy
|
||||||
|
|
||||||
|
# Docker Gitea
|
||||||
|
docker-compose.gitea.yml
|
||||||
|
runner/
|
||||||
|
nginx/
|
||||||
|
|||||||
Reference in New Issue
Block a user