-
Notifications
You must be signed in to change notification settings - Fork 449
34 lines (33 loc) · 997 Bytes
/
pr-depcheck.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
name: Depcheck
on:
merge_group:
types: [checks_requested]
pull_request:
branches:
- main
jobs:
depcheck:
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
env:
CHECKPOINT_DISABLE: "1"
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
package: [
cdktf,
# cdktf-cli,
"@cdktf/hcl2json",
"@cdktf/hcl2cdk",
"@cdktf/provider-schema",
"@cdktf/provider-generator",
"@cdktf/commons",
# "@cdktf/cli-core",
]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: "Run Depcheck"
run: |
npx lerna exec --scope '${{ matrix.package }}' -- npx -y depcheck --ignores="@types/*,jsii,jsii-pacmak,jsii-srcmak,jsii-docgen,yoga-layout-prebuilt,eslint,jest,tsc-files,typescript,esbuild,esbuild-jest,graphology-types"