From cf345899344c66e565aaa54c9ea344d99a6d57c8 Mon Sep 17 00:00:00 2001 From: Tushar1733 Date: Sun, 8 Mar 2026 10:16:40 +0530 Subject: [PATCH 1/3] Github actions test pull request --- .github/workflows/github-actions-demo.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/github-actions-demo.yml diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml new file mode 100644 index 0000000..ff5c716 --- /dev/null +++ b/.github/workflows/github-actions-demo.yml @@ -0,0 +1,17 @@ +name: Test Project +on: + pull_request: + branches: + - main +jobs: + test: + runs-on: ubuntu-latest + container: + image: node:20 + steps: + - uses: actions/checkout@v3 + with: + node-version: 20 + - run: npm ci + - run: npm test + - run: npm run build From 861dab86a0f225b0a2f5e4c4fdaf9303022ffbc2 Mon Sep 17 00:00:00 2001 From: Tushar1733 Date: Sun, 8 Mar 2026 10:23:26 +0530 Subject: [PATCH 2/3] Testing --- src/controllers/recipes/getRecipe.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/recipes/getRecipe.ts b/src/controllers/recipes/getRecipe.ts index 2238414..aea194e 100755 --- a/src/controllers/recipes/getRecipe.ts +++ b/src/controllers/recipes/getRecipe.ts @@ -26,6 +26,7 @@ export async function getRecipe(req, res) { "8 oz fettuccine pasta" ], cookingTime: 30, + instructions: [ "Cook pasta according to package instructions", "Season chicken with salt, pepper, Italian seasoning, and paprika", From 784a3b2bef45165b7c90bc2d906aa422be061667 Mon Sep 17 00:00:00 2001 From: Tushar1733 Date: Sun, 8 Mar 2026 10:27:56 +0530 Subject: [PATCH 3/3] Update github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 29 ++++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index ff5c716..b00f8e9 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -1,17 +1,18 @@ -name: Test Project -on: - pull_request: - branches: - - main +name: GitHub Actions Demo +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] jobs: - test: + Explore-GitHub-Actions: runs-on: ubuntu-latest - container: - image: node:20 steps: - - uses: actions/checkout@v3 - with: - node-version: 20 - - run: npm ci - - run: npm test - - run: npm run build + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v5 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}."