mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-22 04:43:00 +00:00
Refine the ci script
This commit is contained in:
@@ -7,15 +7,6 @@ on:
|
||||
- action-ci
|
||||
paths:
|
||||
- './server/**'
|
||||
paths-ignore:
|
||||
- './db/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- './server/**'
|
||||
paths-ignore:
|
||||
- './db/**'
|
||||
|
||||
jobs:
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: |
|
||||
npm install
|
||||
npm run build
|
||||
npm install
|
||||
npm run build
|
||||
working-directory: ./web
|
||||
env:
|
||||
CI: true
|
||||
@@ -59,7 +59,7 @@ jobs:
|
||||
dep ensure
|
||||
fi
|
||||
working-directory: ./server
|
||||
|
||||
|
||||
- name: Test and Build
|
||||
run: |
|
||||
go build -v -race
|
||||
|
||||
Reference in New Issue
Block a user