Do not run tests on web-only changes
This commit is contained in:
@@ -4,9 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'webroot/**'
|
- 'webroot/**'
|
||||||
pull_request:
|
- 'web/**'
|
||||||
paths-ignore:
|
|
||||||
- 'webroot/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
api:
|
api:
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ jobs:
|
|||||||
# Make sure the actual branch is checked out when running on pull requests
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
pull: --rebase --autostash
|
||||||
|
|
||||||
- name: Prettify code
|
- name: Prettify code
|
||||||
uses: creyD/prettier_action@v4.2
|
uses: creyD/prettier_action@v4.2
|
||||||
|
|||||||
Reference in New Issue
Block a user