Skip to content

Commit

Permalink
Set paths in JS GitHub worflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Aug 27, 2023
1 parent a7b79a0 commit f7b7ee1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/js-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
name: "JS Analysis tools"

on: ["push", "pull_request"]
on:
push:
paths:
- '**.js'
- '**.scss'
- 'package.json'
- 'yarn.lock'
- '.github/workflows/js-analysis.yml'
pull_request:
paths:
- '**.js'
- '**.scss'
- 'package.json'
- 'yarn.lock'
- '.github/workflows/js-analysis.yml'

jobs:
code-analysis:
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/js-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
name: "JS Tests"

on: ["push", "pull_request"]
on:
push:
paths:
- '**.js'
- '**.scss'
- 'package.json'
- 'yarn.lock'
- '.github/workflows/js-tests.yml'
pull_request:
paths:
- '**.js'
- '**.scss'
- 'package.json'
- 'yarn.lock'
- '.github/workflows/js-tests.yml'

jobs:
js-tests:
Expand Down

0 comments on commit f7b7ee1

Please sign in to comment.