From 19c281e56d14cdf102cac40ea5b6c3297f0bdeec Mon Sep 17 00:00:00 2001 From: TechWithGio Date: Mon, 8 Sep 2025 22:20:53 -0400 Subject: [PATCH 1/2] Clean up --- .github/workflows/ci.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 675c540..b1be1f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,6 @@ name: CI on: - push: - branches: [main] pull_request: branches: [main] @@ -27,20 +25,3 @@ jobs: - name: Run Tests with Vitest run: npm run test - - - name: Run ESLint - run: npm run lint - - # FOR IT TO WORK WITH GITHUB Actions and push to Docker registry do the following - # In your repo settings, go to Settings → Secrets and variables → Actions → Secrets, and add: - # DOCKER_USERNAME – your Docker Hub username - # DOCKER_PASSWORD – a Docker Hub personal access token - - # - name: Log in to Docker Hub - # run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - - # - name: Build Docker image - # run: docker build -t ${{ secrets.DOCKER_USERNAME }}/iot-app:latest . - - # - name: Push Docker image to Docker Hub - # run: docker push ${{ secrets.DOCKER_USERNAME }}/iot-app:latest From 9eaac8f5d83312fdcf2c4980c240ac77c0fb52ff Mon Sep 17 00:00:00 2001 From: Michael Salemi <48805730+mikey241124@users.noreply.github.com> Date: Mon, 15 Sep 2025 17:40:44 +0000 Subject: [PATCH 2/2] coded out errors --- src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4491af4..a0b6677 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,7 @@ import express, { Request, Response } from "express"; const app = express(); -const PORT = process.env.PORT || 5001; +//const PORT = express.PORT || 5001; // Middleware for parsing JSON app.use(express.json()); @@ -12,6 +12,6 @@ app.get("/", (req: Request, res: Response) => { }); // Start the server -app.listen(PORT, () => { +/*app.listen(PORT, () => { console.log(`Server is running on http://localhost:${PORT}`); -}); +});*/