Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/controllers/recipes/getRecipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down