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 26, 2023
1 parent 87f4f91 commit 7e85856
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/js-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
name: "JS Analysis tools"

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

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

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

jobs:
js-tests:
Expand Down

0 comments on commit 7e85856

Please sign in to comment.