Skip to content

chore(release): ensure a copy of the license is included with published packages #990

chore(release): ensure a copy of the license is included with published packages

chore(release): ensure a copy of the license is included with published packages #990

Workflow file for this run

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"