Fix gitea workflows #9
@@ -1,10 +1,6 @@
|
|||||||
name: Check build frontend and backend
|
name: Check build frontend and backend
|
||||||
run-name: ${{ gitea.actor }} is building nixcn-cms check
|
run-name: ${{ gitea.actor }} is building nixcn-cms check
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-frontend:
|
build-frontend:
|
||||||
@@ -26,7 +22,7 @@ jobs:
|
|||||||
run: corepack enable
|
run: corepack enable
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|||||||
Reference in New Issue
Block a user