diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5ba5d8c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +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 \ No newline at end of file diff --git a/src/controllers/recipes/getRecipe.ts b/src/controllers/recipes/getRecipe.ts index 2238414..1e103f8 100755 --- a/src/controllers/recipes/getRecipe.ts +++ b/src/controllers/recipes/getRecipe.ts @@ -27,7 +27,7 @@ export async function getRecipe(req, res) { ], cookingTime: 30, instructions: [ - "Cook pasta according to package instructions", + "Cook pasta according to what Gordon Ramsay tells you", "Season chicken with salt, pepper, Italian seasoning, and paprika", "Heat 2 tbsp butter in a skillet over medium-high heat", "Add chicken and cook until golden brown", @@ -39,7 +39,7 @@ export async function getRecipe(req, res) { "Add Alfredo sauce and red pepper flakes", "Add chicken and pasta to skillet", "Stir until combined", - "Top with parsley", + "Top with parsley and sliced cucumber", "Serve and enjoy!" ], image: "https://www.budgetbytes.com/wp-content/uploads/2022/07/Chicken-Alfredo-bowl.jpg",