Skip to content

Commit

Permalink
build: ignore docs for most CI things (#2506)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Mar 21, 2024
1 parent 43b0fdf commit e1859e0
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name: Build
# because the release workflow includes a build+verify step.
on:
pull_request:
paths-ignore:
- "docs/**"

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
branches:
- main
paths-ignore:
- "docs/**"
pull_request:
paths-ignore:
- "docs/**"

jobs:
main:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
branches:
- main
paths-ignore:
- "docs/**"
pull_request:
paths-ignore:
- "docs/**"

env:
# Fix OOM errors with sourcemaps in phaser client
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: Prerelease 🚀
on:
push:
branches:
# Target main branch
- "main"
paths-ignore:
- "docs/**"

# Ensure only one workflow/job is publishing to npm at a time
concurrency: publish-to-npm
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
push:
branches:
- main
paths-ignore:
- "docs/**"

# Ensure only one workflow/job is publishing to npm at a time
concurrency: publish-to-npm
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
branches:
- main
paths-ignore:
- "docs/**"
pull_request:
paths-ignore:
- "docs/**"

env:
# Fix OOM errors with sourcemaps in phaser client
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
push:
branches:
- main
paths-ignore:
- "docs/**"
pull_request:
paths-ignore:
- "docs/**"

jobs:
test:
Expand Down

0 comments on commit e1859e0

Please sign in to comment.