chore (gh-action): Trigger workflow run only if package.json have been modified

This commit is contained in:
Peng-YM
2022-07-13 15:10:30 +08:00
committed by GitHub
parent 97b7b0c774
commit 8a95e17637

View File

@@ -3,11 +3,13 @@ on:
push:
branches:
- master
- dev
paths:
- 'backend/package.json'
pull_request:
branches:
- master
- dev
paths:
- 'backend/package.json'
jobs:
build:
runs-on: ubuntu-latest