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:
CosminPerRam 2023-11-03 16:31:43 +02:00 committed by GitHub
parent 3def20417d
commit da464a5149
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -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

View file

@ -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: