Browse Source

Refine the ci script

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

9
.github/workflows/backend_deploy.yml

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

4
.github/workflows/build_test.yml

@ -30,8 +30,8 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: | - run: |
npm install
npm run build
npm install
npm run build
working-directory: ./web working-directory: ./web
env: env:
CI: true CI: true

Loading…
Cancel
Save