git clone git@github.com:voorhoede/code-class-ci.git
cd code-class-ci
- Create a new branch on this repository, open a pull request to iterate.
- Create a worfklow with configuration to run within the exercise-1 directory.
- Add a job, containing steps to checkout the repository and setup Node.js.
- Add a step to run
npm run lint
. - Bonus: Optimize the action to finish as quick as possible.
- Initial setup:
cd exercise-2; npm ci
. - Create a workflow that runs the local
its-local
action. - Pass the local action the
message
input and use it inside theconsole.info
argument.
To get the solution for an exercise apply the solution patch file, for example for the first exercise:
git apply exercise-1/solution.patch