Skip to content

♻️ Code class about CI & GitHub Actions at De Voorhoede.

License

Notifications You must be signed in to change notification settings

voorhoede/code-class-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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