From 0cf326c15e1cd029c91df10de19e40eccd3fe776 Mon Sep 17 00:00:00 2001 From: GenDelta Date: Fri, 18 Jul 2025 01:16:12 +0530 Subject: [PATCH 1/2] fix: upgrade upload-artifact action to v4 and add eslint disable comment for alert --- .github/workflows/ci.yaml | 2 +- src/pages/Bug2Bot/index.jsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3a8553c..134145f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -33,7 +33,7 @@ jobs: run: npm run build - name: Upload artifact to enable deployment - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: production-files path: ./dist diff --git a/src/pages/Bug2Bot/index.jsx b/src/pages/Bug2Bot/index.jsx index 4606e35..64effbc 100644 --- a/src/pages/Bug2Bot/index.jsx +++ b/src/pages/Bug2Bot/index.jsx @@ -119,6 +119,7 @@ export default function Bug2Bot() { newContents[i] = btoa(PCs[i]); return newContents; }); + // eslint-disable-next-line no-alert alert(`PC Number: ${btoa(PCs[i])}`); } }); From aea8a4076b549099522f687ebd3121fb59dc4d39 Mon Sep 17 00:00:00 2001 From: GenDelta Date: Fri, 18 Jul 2025 01:20:47 +0530 Subject: [PATCH 2/2] fix: upgrade setup-node action to v4 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 134145f..5720437 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Install Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 18.x