Use paths on CI to speed it up.

This commit is contained in:
CosminPerRam 2023-10-30 23:46:21 +02:00
parent f64c4055db
commit 87c615126a
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: