Browse Source

Refine the ci script

main
Granty1 5 years ago
parent
commit
4b7c78ed3b
  1. 9
      .github/workflows/backend_deploy.yml
  2. 6
      .github/workflows/build_test.yml

9
.github/workflows/backend_deploy.yml

@ -7,15 +7,6 @@ on:
- action-ci
paths:
- './server/**'
paths-ignore:
- './db/**'
pull_request:
branches:
- master
paths:
- './server/**'
paths-ignore:
- './db/**'
jobs:

6
.github/workflows/build_test.yml

@ -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
Loading…
Cancel
Save