mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-01 01:22:03 +08:00
chore (gh-action): Trigger workflow run only if package.json have been modified
This commit is contained in:
parent
a949c49192
commit
4121ec2970
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user