git clone git@github.com:corentinmusard/otel-cicd-action.git
cd otel-cicd-actionSetup precommit hook, install dependencies:
npm i
npm run prepareFill .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