Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Test step for auto --dry-run #66

Open
mercillo opened this issue Aug 2, 2024 · 0 comments
Open

Add Test step for auto --dry-run #66

mercillo opened this issue Aug 2, 2024 · 0 comments

Comments

@mercillo
Copy link
Contributor

mercillo commented Aug 2, 2024

During the test step in the circleCI config, add a step for auto dry run

          command: yarn auto shipit --dry-run

You will need to make sure a GH_TOKEN is passed, as running the command itself will give you an error

Make sure it is available on process.env.GH_TOKEN.
Error: GitHub token not found!
at Auto.loadConfig (/home/circleci/rules_player/node_modules/@auto-it/core/src/auto.ts:657:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async execute (/home/circleci/rules_player/node_modules/auto/src/run.ts:36:5)
at async Object.runCli (/home/circleci/rules_player/node_modules/auto/src/run.ts:146:3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant