chore: use publib for releases #567
Workflow file for this run
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
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" |