Skip to content

Commit

Permalink
Use paths on CI to speed it up.
Browse files Browse the repository at this point in the history
  • Loading branch information
CosminPerRam committed Oct 30, 2023
1 parent f64c405 commit 87c6151
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ name: Deno
on:
push:
branches: ["master"]
paths:
- "**.js" # Any JS file
- "package.json"
- "package-lock.json"
- ".github/workflows/node.yml" # This action
pull_request:
branches: ["master"]
paths:
- "**.js" # Any JS file
- "package.json"
- "package-lock.json"
- ".github/workflows/node.yml" # This action

permissions:
contents: read
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ name: Node
on:
push:
branches: [ "master" ]
paths:
- "**.js" # Any JS file
- "package.json"
- "package-lock.json"
- ".github/workflows/node.yml" # This action
pull_request:
branches: [ "master" ]
paths:
- "**.js" # Any JS file
- "package.json"
- "package-lock.json"
- ".github/workflows/node.yml" # This action

jobs:
build:
Expand Down

0 comments on commit 87c6151

Please sign in to comment.