Skip to content

Commit

Permalink
Run workflows when workflow definition changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bkis committed Sep 24, 2024
1 parent 8e380a3 commit f44dcb9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/client-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@ on:
branches:
- development
paths:
- 'Tekst-Web/public/**'
- 'Tekst-Web/scripts/**'
- 'Tekst-Web/src/**'
- 'Tekst-Web/package.json'
- 'Tekst-Web/package-lock.json'
- "Tekst-Web/public/**"
- "Tekst-Web/scripts/**"
- "Tekst-Web/src/**"
- "Tekst-Web/package.json"
- "Tekst-Web/package-lock.json"
- ".github/workflows/client-build.yml"
pull_request:
branches:
- main
- development
paths:
- 'Tekst-Web/public/**'
- 'Tekst-Web/scripts/**'
- 'Tekst-Web/src/**'
- 'Tekst-Web/package.json'
- 'Tekst-Web/package-lock.json'
- "Tekst-Web/public/**"
- "Tekst-Web/scripts/**"
- "Tekst-Web/src/**"
- "Tekst-Web/package.json"
- "Tekst-Web/package-lock.json"
- ".github/workflows/client-build.yml"
workflow_dispatch:

jobs:
Expand All @@ -36,8 +38,8 @@ jobs:
- name: Use Node.js 20.14.0
uses: actions/setup-node@v3
with:
node-version: '20.14.0'
cache: 'npm'
cache-dependency-path: './Tekst-Web/package-lock.json'
node-version: "20.14.0"
cache: "npm"
cache-dependency-path: "./Tekst-Web/package-lock.json"
- run: npm install
- run: npm run build --if-present
2 changes: 2 additions & 0 deletions .github/workflows/server-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- "Tekst-API/tests/**"
- "Tekst-API/pyproject.toml"
- "Tekst-API/poetry.lock"
- ".github/workflows/server-style.yml"
pull_request:
branches:
- development
Expand All @@ -18,6 +19,7 @@ on:
- "Tekst-API/tests/**"
- "Tekst-API/pyproject.toml"
- "Tekst-API/poetry.lock"
- ".github/workflows/server-style.yml"
workflow_dispatch:

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- "Tekst-API/tests/**"
- "Tekst-API/pyproject.toml"
- "Tekst-API/poetry.lock"
- ".github/workflows/server-tests.yml"
pull_request:
branches:
- development
Expand All @@ -18,6 +19,7 @@ on:
- "Tekst-API/tests/**"
- "Tekst-API/pyproject.toml"
- "Tekst-API/poetry.lock"
- ".github/workflows/server-tests.yml"
workflow_dispatch:

jobs:
Expand Down

0 comments on commit f44dcb9

Please sign in to comment.