From 1ca2f460cd818103e4230e11aa6eba35e061d8db Mon Sep 17 00:00:00 2001 From: eps1lon Date: Fri, 10 Sep 2021 13:37:01 +0200 Subject: [PATCH 1/3] fix: Use syntax compatible with older TypeScript versions --- types/query-helpers.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/query-helpers.d.ts b/types/query-helpers.d.ts index 2f5b9188..060be39c 100644 --- a/types/query-helpers.d.ts +++ b/types/query-helpers.d.ts @@ -3,7 +3,7 @@ import {waitForOptions} from './wait-for' export type WithSuggest = {suggest?: boolean} -export type GetErrorFunction = ( +export type GetErrorFunction = ( c: Element | null, ...args: Arguments ) => string From 5fd040005d27e7a8e7cd229adec197662fccd034 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Sat, 11 Sep 2021 10:29:47 +0200 Subject: [PATCH 2/3] How to run GitHub actions without a cached node version? From 129cee037c377b0421cbfe00881119e195f60056 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Sat, 11 Sep 2021 10:32:28 +0200 Subject: [PATCH 3/3] ensure we install past ^16.9.1? --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index e12e9f98..74d61d74 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -18,7 +18,7 @@ jobs: # Otherwise we would not know if the problem is tied to the Node.js version fail-fast: false matrix: - node: [12, 14, 16] + node: [12, 14, '^16.9.1'] runs-on: ubuntu-latest steps: - name: 🛑 Cancel Previous Runs