-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (47 loc) · 1.37 KB
/
__shared-ci.yml
File metadata and controls
53 lines (47 loc) · 1.37 KB
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
53
name: Common Continuous Integration tasks
on:
workflow_call:
permissions: {}
jobs:
linter:
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@a55670b58d3e064526201acde6c720ede638420c # 0.31.0
permissions:
actions: read
contents: read
security-events: write
statuses: write
with:
# FIXME: remove VALIDATE_*_PRETTIER and *_SUMMARY when supported (https://github.com/super-linter/super-linter/issues/6089)
linter-env: |
FILTER_REGEX_EXCLUDE=dist/**/*
VALIDATE_TYPESCRIPT_ES=false
VALIDATE_JSON_PRETTIER=false
VALIDATE_MARKDOWN_PRETTIER=false
VALIDATE_TYPESCRIPT_PRETTIER=false
VALIDATE_YAML_PRETTIER=false
SAVE_SUPER_LINTER_SUMMARY=false
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY=false
check-nodejs:
name: Test nodejs
needs: linter
uses: ./.github/workflows/__check-nodejs.yml
permissions:
contents: read
id-token: write
packages: read
pull-requests: write
security-events: write
secrets: inherit
check-dist:
name: Test nodejs
needs: linter
uses: ./.github/workflows/__check-dist.yml
permissions:
contents: read
check-action:
name: Test action
needs: [check-nodejs, check-dist]
uses: ./.github/workflows/__check-action.yml
permissions:
contents: read
issues: write