Do not run tests on web-only changes

This commit is contained in:
Gabe Kangas
2022-08-20 12:08:18 -07:00
committed by GitHub
parent 757b1beb2f
commit 8bd222e847
2 changed files with 2 additions and 3 deletions

View File

@@ -4,9 +4,7 @@ on:
push:
paths-ignore:
- 'webroot/**'
pull_request:
paths-ignore:
- 'webroot/**'
- 'web/**'
jobs:
api:

View File

@@ -18,6 +18,7 @@ jobs:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
fetch-depth: 0
pull: --rebase --autostash
- name: Prettify code
uses: creyD/prettier_action@v4.2