From 46324881aed855270d780f5c05b5db20d5d327b8 Mon Sep 17 00:00:00 2001 From: Kamar Date: Tue, 23 Apr 2024 21:16:34 +0000 Subject: [PATCH] Fix CI files - Fix shebang in pre-commit - Add build to pre-commit - Add build files to ignore files --- .eslintignore | 4 ++++ .gitignore | 4 ++++ .husky/pre-commit | 4 ++-- .prettierignore | 4 ++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index f9f4b7d..51fc60e 100644 --- a/.eslintignore +++ b/.eslintignore @@ -232,3 +232,7 @@ coverage/ # Local Resources ___local_resources/ + +# Build +**.js +**.d.ts diff --git a/.gitignore b/.gitignore index f9f4b7d..51fc60e 100644 --- a/.gitignore +++ b/.gitignore @@ -232,3 +232,7 @@ coverage/ # Local Resources ___local_resources/ + +# Build +**.js +**.d.ts diff --git a/.husky/pre-commit b/.husky/pre-commit index 2968fcc..1e780b3 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/bin/bash . "$(dirname -- "$0")/_/husky.sh" -npm run format && npm run lint && git add . && npm run test +npm run format && npm run lint && git add . && npm run build && npm run test diff --git a/.prettierignore b/.prettierignore index f9f4b7d..51fc60e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -232,3 +232,7 @@ coverage/ # Local Resources ___local_resources/ + +# Build +**.js +**.d.ts