From 6fe02b7c854c9e06f301280032b0841871f17dea Mon Sep 17 00:00:00 2001 From: MH4GF Date: Sat, 25 May 2024 20:00:53 +0900 Subject: [PATCH 1/3] fix: fix ERR_PNPM_BAD_PM_VERSION ref: https://github.com/MH4GF/dependency-cruiser-report-action/actions/runs/9234907257/job/25409131830 --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7bf0d6..90708d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,9 @@ name: 'build-test' on: # rebuild any PRs and main branch changes pull_request: +env: + COREPACK_ENABLE_STRICT: 0 + jobs: test: # make sure the action works on a clean machine without building permissions: From d32798d975c3d3bf0960d639821e8802077e94fd Mon Sep 17 00:00:00 2001 From: MH4GF Date: Sat, 25 May 2024 20:03:01 +0900 Subject: [PATCH 2/3] debug: change some code --- src/report/body/uniqueTag.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/report/body/uniqueTag.ts b/src/report/body/uniqueTag.ts index 1072efa..0f44479 100644 --- a/src/report/body/uniqueTag.ts +++ b/src/report/body/uniqueTag.ts @@ -7,6 +7,8 @@ interface Context { workingDirectory: string } +console.log('debug') + const hashedContext = (context: Context) => { const hash = createHash('sha256') const json = { From 7dd057991ed86b94da39b48ca2e5d7b54b758eb9 Mon Sep 17 00:00:00 2001 From: MH4GF Date: Sat, 25 May 2024 20:04:23 +0900 Subject: [PATCH 3/3] Revert "debug: change some code" This reverts commit d32798d975c3d3bf0960d639821e8802077e94fd. --- src/report/body/uniqueTag.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/report/body/uniqueTag.ts b/src/report/body/uniqueTag.ts index 0f44479..1072efa 100644 --- a/src/report/body/uniqueTag.ts +++ b/src/report/body/uniqueTag.ts @@ -7,8 +7,6 @@ interface Context { workingDirectory: string } -console.log('debug') - const hashedContext = (context: Context) => { const hash = createHash('sha256') const json = {