-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: dependency check commons package
- Loading branch information
1 parent
47c8ec5
commit cfde9d8
Showing
3 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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/hcl2cdk", | ||
# "@cdktf/hcl2json", | ||
# "@cdktf/provider-schema", | ||
# "@cdktf/provider-generator", | ||
"@cdktf/commons", | ||
# "@cdktf/cli-core", | ||
] | ||
|
||
steps: | ||
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
- 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters