feat: Use paths on CI to speed it up (#399)
* Use paths on CI to speed it up.
* Example commit that modifies README
* Revert "Example commit that modifies README"
This reverts commit 8f9786d134
.
This commit is contained in:
parent
3def20417d
commit
da464a5149
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue