-
Notifications
You must be signed in to change notification settings - Fork 20
52 lines (45 loc) · 1.33 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
47
48
49
50
51
52
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-reclamation/.github/workflows/setup.yml@main
with:
setup_dev: true
eslint:
needs: setup
uses: Monday-Morning/project-reclamation/.github/workflows/eslint.yml@main
with:
config_path: ./.eslintrc.yml
ignore_path: ./.eslintignore
file_path: 'server/'
prettier:
needs: setup
uses: Monday-Morning/project-reclamation/.github/workflows/prettier.yml@main
with:
file_pattern: './server/.'
config_path: './.prettierrc.yml'
ignore_path: './.prettierignore'
fail_on_error: true
mocha:
needs: [eslint, prettier]
uses: Monday-Morning/project-reclamation/.github/workflows/mocha.yml@main
if: join(github.event.pull_request.labels) != '' && contains(github.event.pull_request.labels.*.name, 'safe-for-checks')
with:
package_path: ./server/package.json
analyze:
needs: [eslint, prettier]
uses: Monday-Morning/project-reclamation/.github/workflows/analyze.yml@main