From 9f82c096a988788e119f82ed6297fdfcef5b3635 Mon Sep 17 00:00:00 2001 From: blanxi Date: Mon, 12 Aug 2024 18:40:57 +0200 Subject: [PATCH] hotfix(deployment): skip cypress test from tsconfig --- .github/workflows/release.yml | 5 ----- package.json | 4 ++-- tsconfig.json | 1 + 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df80d941..ef298985 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,6 @@ name: Release pipeline on: push: branches: - - main - - 'feature/**' - - 'feat/**' - - 'hotfix/**' - - 'ACT-**' concurrency: group: ${{ github.ref }} diff --git a/package.json b/package.json index 888e9496..647fb9ea 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "CI=true react-scripts test", - "lint": "eslint .", - "lint:fix": "eslint --fix", + "lint": "eslint \"src/**/*.{ts,js}\"", + "lint:fix": "eslint \"src/**/*.{ts,js}\" --fix", "format": "prettier --write './**/*.{js,jsx,ts,tsx,css,json}' --config ./.prettierrc", "build-package": "rollup -c", "storybook": "storybook dev -p 6006", diff --git a/tsconfig.json b/tsconfig.json index c2326a92..f214cbc7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,6 +27,7 @@ "src", "src/**/*.ts", "src/**/*.tsx", + "test/**/*.ts", "css-modules.d.ts", "react-app-env.d.ts", "rollup.config.js",