Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1012 Bytes

readme.md

File metadata and controls

31 lines (24 loc) · 1012 Bytes

Code class CI & GitHub Actions

Setup

git clone git@github.com:voorhoede/code-class-ci.git
cd code-class-ci

Exercises

One

  1. Create a new branch on this repository, open a pull request to iterate.
  2. Create a worfklow with configuration to run within the exercise-1 directory.
  3. Add a job, containing steps to checkout the repository and setup Node.js.
  4. Add a step to run npm run lint.
  5. Bonus: Optimize the action to finish as quick as possible.

Two

  1. Initial setup: cd exercise-2; npm ci.
  2. Create a workflow that runs the local its-local action.
  3. Pass the local action the message input and use it inside the console.info argument.

Solutions

To get the solution for an exercise apply the solution patch file, for example for the first exercise:

git apply exercise-1/solution.patch

<< My previous code class, about functional JS