Skip to content

Commit

Permalink
chore: add depcheck action
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Oct 20, 2023
1 parent e207a50 commit 827e1da
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pr-depcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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

0 comments on commit 827e1da

Please sign in to comment.