From f0b2006d552077f3139488c001a7bf686288e20e Mon Sep 17 00:00:00 2001 From: "22353326+dariosn85@users.noreply.github.com" Date: Fri, 19 Jan 2024 16:04:27 +0100 Subject: [PATCH] * updated workflow file * excluding jest config from compilation --- .github/workflows/format.yml | 2 +- .husky/pre-commit | 3 +-- tsconfig.json | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 9f816ed..7a5cd2d 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [14.x, 16.x, 18.x, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.husky/pre-commit b/.husky/pre-commit index 39165a9..6842c57 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,3 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npm run format -git add . +npm run format \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 7565304..5ddc3e8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -113,4 +113,5 @@ }, "baseUrl": ".", }, + "exclude": ["jest.config.ts"], }