From 24adec60d1c6a94fb16d1fe8a03043c84e5f0d8f Mon Sep 17 00:00:00 2001 From: sahilingale629 Date: Thu, 29 Jan 2026 16:25:10 +0530 Subject: [PATCH 1/6] init --- package-lock.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package-lock.json b/package-lock.json index 32d28f8..7dade5e 100755 --- a/package-lock.json +++ b/package-lock.json @@ -72,6 +72,7 @@ "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", @@ -2831,6 +2832,7 @@ "integrity": "sha512-49AbMDwYUz7EXxKU/r7mXOsxwFr4BYbvB7tWYxVuLdb2ibd30ijjXINSMAHiEEZk5PCRBmW1gUeisn2VMKt3cQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "undici-types": "~6.19.2" } @@ -3326,6 +3328,7 @@ } ], "license": "MIT", + "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001646", "electron-to-chromium": "^1.5.4", @@ -4896,6 +4899,7 @@ "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -7899,6 +7903,7 @@ "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", @@ -7979,6 +7984,7 @@ "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" From 99a2ff4d3967d8d83acfcd3d75ada40328cc5814 Mon Sep 17 00:00:00 2001 From: sahilingale629 Date: Thu, 29 Jan 2026 17:31:08 +0530 Subject: [PATCH 2/6] added yml --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4e0f745 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: Node.js CI + +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: "20.x" + - run: npm ci + - run: npm test + - run: npm run build From fbcc5b4ef0b371b689c89a46f041c01c5224312a Mon Sep 17 00:00:00 2001 From: sahilingale629 Date: Thu, 29 Jan 2026 17:33:33 +0530 Subject: [PATCH 3/6] test push --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e0f745..57368e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Node.js CI -on: pull_request +on: [push] jobs: build: From fed647b67685c69770389813626b11bde0a1a646 Mon Sep 17 00:00:00 2001 From: sahilingale629 Date: Thu, 29 Jan 2026 18:07:33 +0530 Subject: [PATCH 4/6] push 2 --- src/routes/recipes.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/routes/recipes.ts b/src/routes/recipes.ts index 9b087ce..3af8b98 100755 --- a/src/routes/recipes.ts +++ b/src/routes/recipes.ts @@ -1,11 +1,10 @@ import { getRecipe } from "../controllers/recipes/getRecipe"; - -const express = require('express'); +const express = require("express"); const router = express.Router(); -console.log('Loading Routes: ', __filename); +console.log("Loading Route: ", __filename); -router.get('/:id', getRecipe); +router.get("/:id", getRecipe); -module.exports = router; \ No newline at end of file +module.exports = router; From 659093c6f656ca05b1760ce9158b2f778e36a456 Mon Sep 17 00:00:00 2001 From: sahilingale629 Date: Thu, 29 Jan 2026 18:09:37 +0530 Subject: [PATCH 5/6] changed to pr --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57368e4..4e0f745 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Node.js CI -on: [push] +on: pull_request jobs: build: From 3bbde2d720af17636c59b8638afd9574c176ca86 Mon Sep 17 00:00:00 2001 From: sahilingale629 Date: Thu, 29 Jan 2026 18:15:47 +0530 Subject: [PATCH 6/6] push test --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e0f745..57368e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ name: Node.js CI -on: pull_request +on: [push] jobs: build: