We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01ac706 commit 2464c9fCopy full SHA for 2464c9f
1 file changed
scripts/ci/main.ts
@@ -2,11 +2,13 @@ import { notice } from '@actions/core';
2
import { bold } from '@std/fmt/colors';
3
4
export async function main(): Promise<void> {
5
- if (Deno.env.get('CI')) {
6
- console.log("We're in a CI environment!");
7
- }
+ const ci = Deno.env.get('CI');
8
9
- console.log(`We are ${bold('not')} in a CI environment!`);
+ if (ci) {
+ console.log("We're in a CI environment!", { ci });
+ } else {
10
+ console.log(`We are ${bold('not')} in a CI environment!`);
11
+ }
12
}
13
14
if (import.meta.main) {
0 commit comments