From d93bc0fe285e94140ca764d5f1f58c0b2109ae45 Mon Sep 17 00:00:00 2001 From: Jordan schroder Date: Mon, 2 Mar 2026 21:25:15 +1300 Subject: [PATCH 1/4] Added PR checks --- .github/workflows/pr-checks.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-checks.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000..f32c6b4 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,27 @@ +name: PR Checks +on: + pull_request: + branches: + - main + +jobs: + build-and-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "npm" + + - name: Install dependencies + run: npm ci + + - name: Lint + run: npm run lint + + - name: Build for all browsers + run: npm run build From 4617ffe20ba90d20ec52b8a42ad0747c32182ec4 Mon Sep 17 00:00:00 2001 From: Jordan schroder Date: Mon, 2 Mar 2026 21:40:05 +1300 Subject: [PATCH 2/4] Bumped version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ad70599..e9f6e5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "searchengineswitcher", - "version": "2.0.0", + "version": "2.1.1", "description": "Helps you switch between search engines quickly and easily.", "private": true, "repository": "https://github.com/StasJS/SearchEngineSwitcher.git", From 92fb8a084b8cdfab8e87599dde6584e762702291 Mon Sep 17 00:00:00 2001 From: Jordan schroder Date: Mon, 2 Mar 2026 21:41:43 +1300 Subject: [PATCH 3/4] Reduced lint-staged scope --- .lintstagedrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lintstagedrc b/.lintstagedrc index 83a6632..657ed53 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,3 +1,3 @@ { - "*": "npm run lint:fix" + "*.{ts,tsx}": "npm run lint:fix" } From 5d0f03838e6546c6a0a37efe1efe527865941949 Mon Sep 17 00:00:00 2001 From: Jordan schroder Date: Mon, 2 Mar 2026 21:42:30 +1300 Subject: [PATCH 4/4] Removed redundant workflows --- .github/workflows/pr-checks.yml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .github/workflows/pr-checks.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml deleted file mode 100644 index f32c6b4..0000000 --- a/.github/workflows/pr-checks.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: PR Checks -on: - pull_request: - branches: - - main - -jobs: - build-and-lint: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: "npm" - - - name: Install dependencies - run: npm ci - - - name: Lint - run: npm run lint - - - name: Build for all browsers - run: npm run build