Skip to content

Commit

Permalink
Organise workflows (#3602)
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis authored May 13, 2024
1 parent 5d0bb0d commit 1ef416e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 45 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/commitlint.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/lint-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ name: Lint Server
# yamllint disable-line rule:truthy
on:
workflow_call:
push:
paths:
- 'packages/server/**'
branches: [ 'main' ]
pull_request:
paths:
- 'packages/server/**'
branches: [ 'main' ]

jobs:
lintServer:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint-server:
name: Lint and format server
uses: ./.github/workflows/lint-server.yml

server-tests:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
needs: lint-server

permissions:
contents: read
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-taskrunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
lint-server:
name: Lint and format server
uses: ./.github/workflows/lint-server.yml

taskrunner-tests:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
needs: lint-server

permissions:
contents: read
Expand Down

0 comments on commit 1ef416e

Please sign in to comment.