Merge pull request #223 from gitroomhq/ci-actions-on-paths

ci: only run actions when certain paths change
This commit is contained in:
James Read 2024-09-09 22:35:15 +01:00 committed by GitHub
commit 2109a7b64a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 31 additions and 0 deletions

View File

@ -3,7 +3,18 @@ name: Build
on:
push:
branches:
- main
paths:
- package.json
- apps/**
- libraries/**
pull_request:
paths:
- package.json
- apps/**
- libraries/**
jobs:
build:

View File

@ -3,7 +3,16 @@ name: "Code Quality Analysis"
on:
push:
branches:
- main
paths:
- apps/**
- libraries/**
pull_request:
paths:
- apps/**
- libraries/**
jobs:
analyze:

View File

@ -3,7 +3,18 @@ name: ESLint
on:
push:
branches:
- main
paths:
- package.json
- apps/**
- libraries/**
pull_request:
paths:
- package.json
- apps/**
- libraries/**
jobs:
eslint: