Skip to content

Commit

Permalink
chore: limit when build workflow runs
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Oct 1, 2023
1 parent 3a9b809 commit 6ef70a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@ name: Build
on:
# Allow developers to run this on-demand.
workflow_dispatch:
# Run for each commit to confirm that the build is still working.
push:
paths:
- './github/workflows/build.yml'
- 'src/**'
- '!src/**/__tests__/**'
- '!src/**/__mocks__/**'
- 'resources/**'
- 'build/**'
- 'electron-builder.yml'
- 'electron.vite.config.ts'
- 'package.json'
- 'yarn.lock'
- 'tsconfig.json'
- 'tsconfig.node.json'
- 'tsconfig.web.json'

# Allow at most one instance of this workflow to run at a time.
concurrency:
Expand Down

0 comments on commit 6ef70a0

Please sign in to comment.