- The root directory should contain only files related to the maintenance of this repo.
- Pipeline root files are stored in
/ado - Scripts belong in
/scripts
- OS agnostic (where ever possible)
- Portable
- Zero dependency (scope: this repo)
- Ready to run without transpiling
For the sake of legibility by all, a linter has been added to the pre-commit hook.
For development
npm ci
cp scripts/.env.example scripts/.env
Note that you will need to put in a PAT token in the .env file as well as potentially adjust based on what env you wish to test against.
You can execute a test runner against the majority of the api calls via test/ado-api-test.mjs.
eg: cd scripts && node -r dotenv/config ./test/ado-api-test.mjs 2097350 3916919 3871151 2922 Project_sprint_carry_forward