Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 639 Bytes

CONTRIBUTING.md

File metadata and controls

35 lines (22 loc) · 639 Bytes

How to Contribute to otel-cicd-action

Getting Started

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

Testing

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.

Pushing code

Be sure to run the following command before pushing code.

npm run all