From 79687f239615717dd1dd80a55a3db293b48d3023 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Fri, 26 Jul 2024 17:11:31 +0200 Subject: [PATCH 1/4] chore: Fix GH action --- .github/workflows/test-and-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index dd42d4f..04b9556 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -20,6 +20,10 @@ jobs: group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.node-version }} cancel-in-progress: true + permissions: + contents: read + id-token: write + steps: - name: ⬇️ Checkout repo uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # pin@main From 2670a824a940fc854d7ac4c565f595b3c65ca77f Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Fri, 26 Jul 2024 17:14:02 +0200 Subject: [PATCH 2/4] Add prettierignore --- .prettierignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..83b6947 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +CHANGELOG.md \ No newline at end of file From 6875658dce683962be3801383f58403e00c5e761 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Fri, 26 Jul 2024 18:12:08 +0200 Subject: [PATCH 3/4] Debug CI --- src/psl/fetch-psl.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/psl/fetch-psl.ts b/src/psl/fetch-psl.ts index 8118c0a..b5d85f3 100644 --- a/src/psl/fetch-psl.ts +++ b/src/psl/fetch-psl.ts @@ -5,6 +5,12 @@ export const fetchPsl = async () => { const response = await fetch(PUBLIC_SUFFIX_URL); const pslContent = await response.text(); + console.log( + pslContent.length, + pslContent.slice(0, 100), + FETCH_PSL_EXPECTED_MIN_LENGTH, + ); + // Sanity check ok( pslContent.length >= FETCH_PSL_EXPECTED_MIN_LENGTH, From a4a78e8020eedae12b451dce77bcd658b328d2e2 Mon Sep 17 00:00:00 2001 From: Johannes Ewald Date: Fri, 26 Jul 2024 18:14:17 +0200 Subject: [PATCH 4/4] Remove debug console log --- src/psl/fetch-psl.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/psl/fetch-psl.ts b/src/psl/fetch-psl.ts index b5d85f3..8118c0a 100644 --- a/src/psl/fetch-psl.ts +++ b/src/psl/fetch-psl.ts @@ -5,12 +5,6 @@ export const fetchPsl = async () => { const response = await fetch(PUBLIC_SUFFIX_URL); const pslContent = await response.text(); - console.log( - pslContent.length, - pslContent.slice(0, 100), - FETCH_PSL_EXPECTED_MIN_LENGTH, - ); - // Sanity check ok( pslContent.length >= FETCH_PSL_EXPECTED_MIN_LENGTH,