-
Notifications
You must be signed in to change notification settings - Fork 35
46 lines (40 loc) · 1.1 KB
/
development.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Development CI/CD
on:
pull_request_target:
types: [reopened, ready_for_review, labeled, synchronize]
permissions:
actions: read
checks: read
contents: read
deployments: read
issues: write
discussions: write
packages: read
pull-requests: write
repository-projects: read
security-events: write
statuses: read
jobs:
setup:
uses: Monday-Morning/project-tahiti/.github/workflows/setup.yml@main
with:
setup_dev: true
eslint:
needs: setup
uses: Monday-Morning/project-tahiti/.github/workflows/eslint.yml@main
with:
config_path: ./.eslintrc.json
ignore_path: ./.eslintignore
file_path: "./"
prettier:
needs: setup
uses: Monday-Morning/project-tahiti/.github/workflows/prettier.yml@main
with:
file_pattern: "./client/."
config_path: "./client/.prettierrc"
ignore_path: "./client/.prettierignore"
fail_on_error: true
analyze:
needs: [eslint, prettier]
if: contains(github.event.pull_request.labels.*.name, 'safe-for-checks')
uses: Monday-Morning/project-tahiti/.github/workflows/analyze.yml@main