From ea293d54de727c9b653d3d7bb680c636220a2952 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 28 Nov 2024 12:11:14 +0300 Subject: [PATCH] Fix TS --- .github/workflows/main.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/website.yml | 2 +- src/scalars/Void.ts | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af26fcc98..05a65f933 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: uses: the-guild-org/shared-config/.github/workflows/ci-node-matrix.yml@main with: script: yarn test - nodeVersions: '[16,18,21]' + nodeVersions: '[18,20,22]' lint: uses: the-guild-org/shared-config/.github/workflows/lint.yml@main with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2eacb0396..371bc5c73 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,7 +16,7 @@ jobs: with: npmTag: alpha buildScript: build - nodeVersion: 16 + nodeVersion: 22 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} npmToken: ${{ secrets.NODE_AUTH_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 929f80d1e..db12db097 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main with: releaseScript: release - nodeVersion: 18 + nodeVersion: 22 secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} npmToken: ${{ secrets.NODE_AUTH_TOKEN }} diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 293985f69..1a6e99e75 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -23,7 +23,7 @@ jobs: - uses: the-guild-org/shared-config/setup@main name: setup env with: - nodeVersion: 18 + nodeVersion: 22 packageManager: yarn workingDirectory: website diff --git a/src/scalars/Void.ts b/src/scalars/Void.ts index 6a9a5a079..d4f8c8b36 100644 --- a/src/scalars/Void.ts +++ b/src/scalars/Void.ts @@ -9,11 +9,11 @@ export const GraphQLVoid = /*#__PURE__*/ new GraphQLScalarType({ return ''; }, - parseValue() { + parseValue(): null { return null; }, - parseLiteral() { + parseLiteral(): null { return null; }, extensions: {