Question: This assignment will focus on Git Workflows and actions. Tasks: Create a Sample Workflow in your Github Repository that runs a echo command displaying your
This assignment will focus on Git Workflows and actions. Tasks: Create a Sample Workflow in your Github Repository that runs a echo command displaying your name when we push changes to the repository. Add a sample npm project of your choice to your github repo. Create a github action that would perform multiple steps as listed below: Checkout code Install dependencies in ubuntu. Run Jest test command on your repo. Creat Artifact based on the build results of your project and upload it to your github repository. Ex: dist folder for your npm project. Create atleast unit tests in your reository. You can use the sample calculator file in this repo. Run the tests using jest command. Add test task in your package.json. Create a new workflow for runnning Unit tests after a build is done in GitHub actions. Add commit tag for the unit test workflow in your readme file. Create a precommit hook for your repo to run styling check. You can use your linter if you want to Setup a GitHub action in your repo to get a secret API Key as an environment variable. Submission: Include your Github Repo. Add Lab folder and push the repository files into this folder. You will be creating all the workflows in this lab folder. For evaluation, you will create a video of the workflows running in your repo. Demonstrate for each task what is the entry that you have added in the workflow file. Add a readme file in the Lab folder. Video Link will have to be added in the Lab Readme file. Note: Video only no screenshots accepted. You github repo name should be visible in the video.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
