git clone [email protected]:corentinmusard/otel-cicd-action.git
cd otel-cicd-action
Setup precommit hook, install dependencies:
npm run prepare
npm i
Fill .env.test
based on .env.test.example
.
GH_TOKEN
can be found by running gh auth token
We use a record/replay octokit client to make testing easier.
npm run test:record
will record all the request made with a real octokit client.
npm run test
will replay the recorded requests.
Be sure to run the following command before pushing code.
npm run all