Skip to content

Atiqa N.#19

Open
atiqanaseer wants to merge 6 commits intoHackYourAssignment:mainfrom
atiqanaseer:main
Open

Atiqa N.#19
atiqanaseer wants to merge 6 commits intoHackYourAssignment:mainfrom
atiqanaseer:main

Conversation

@atiqanaseer
Copy link
Copy Markdown

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

📝 HackYourFuture auto grade

Assignment Score: 0 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 0
🧪 The auto grade is experimental and still being improved

Test Details

steps:
- uses: actions/checkout@v4

- name: Set up Node.js
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even the assignement is not mentioning it, it's a good practice of setting the node version. Curiosity: why 20?

node-version: '20'

- name: Install dependencies
run: npm install
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For study purposes this works well, but I would recommend the reading of npm ci and how it deffers from npm install. When working in deployed a software it could have a difference

Comment thread README.md
## Implementation Instructions
### Task 1
Add your gitHub action file in `.github/workflows/task-1.yaml` (Note: inside the existing .github folder found on the root of the repository)
Add your gitHub action file in `.github/workflows/task-1.yaml` (Note: inside the existing .github folder found on the root of the repository) No newline at end of file
Copy link
Copy Markdown

@rafasilpereira rafasilpereira Apr 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only change here is removing the trailing newline at the end of the file. This was probably done by your editor automatically. You can revert it by run:

git checkout main -- README.md

Copy link
Copy Markdown

@rafasilpereira rafasilpereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work :claps:

I've run locally and the steps are working good!

Tips and Questions:

  • You 6 commits with the same message. A commit message is such as a storyline of your work and it helps other developer to read throught your development process.
  • How would you make this action run in the Pull Request?
  • How did you test that this work?

@rafasilpereira rafasilpereira added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed Review in progress labels Apr 15, 2026

- name: Run unit tests
run: npm test
working-directory: ./task-1
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use defaults sections to define the working-directory for all steps and avoid duplication. Read this doc for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants