From b27fcedb4a4ff6870af1f092b4972756add36d74 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Fri, 27 Jun 2025 19:23:33 -0700 Subject: [PATCH 1/5] Update tests.yml --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2a75f2d..c59ae56 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,5 +28,6 @@ jobs: npm run bench npm test npm run cov + echo $(tty) env: CI: true From 564f3bbc92ac7d1a21f5ceb3de22dde3b1057046 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Fri, 27 Jun 2025 19:25:26 -0700 Subject: [PATCH 2/5] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c59ae56..32d34ca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,12 +22,12 @@ jobs: - name: npm install, build, and test # Note, we run bench and cov just to make sure they run successfully, but we're not doing anything with the result yet. run: | + if $(tty); then echo 'in a tty'; else echo 'NOT in a tty'; fi npm install npm run build npm run doc npm run bench npm test npm run cov - echo $(tty) env: CI: true From 02275f16e0300aa26f403ab79189892ce5c8224b Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Fri, 27 Jun 2025 19:26:59 -0700 Subject: [PATCH 3/5] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 32d34ca..d5064e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: - name: npm install, build, and test # Note, we run bench and cov just to make sure they run successfully, but we're not doing anything with the result yet. run: | - if $(tty); then echo 'in a tty'; else echo 'NOT in a tty'; fi + if tty; then echo 'in a tty'; else echo 'NOT in a tty'; fi npm install npm run build npm run doc From 7d3c2c8d65bf501393030be779c6dbf224601b7f Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Fri, 27 Jun 2025 23:51:26 -0700 Subject: [PATCH 4/5] Update tests.yml --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d5064e4..41dc776 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,8 @@ jobs: - name: npm install, build, and test # Note, we run bench and cov just to make sure they run successfully, but we're not doing anything with the result yet. run: | - if tty; then echo 'in a tty'; else echo 'NOT in a tty'; fi + isInteractive=$(tty -s && echo true || echo false) + if $isInteractive; then echo 'in a tty'; else echo 'NOT in a tty'; fi npm install npm run build npm run doc From fff362596d8c41a98b7ab43a741722e05c7b2ec0 Mon Sep 17 00:00:00 2001 From: Joe Pea Date: Fri, 27 Jun 2025 23:53:48 -0700 Subject: [PATCH 5/5] Update tests.yml --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41dc776..d5e140b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: - name: npm install, build, and test # Note, we run bench and cov just to make sure they run successfully, but we're not doing anything with the result yet. run: | - isInteractive=$(tty -s && echo true || echo false) + isInteractive=$(tty -s && echo false || echo true) if $isInteractive; then echo 'in a tty'; else echo 'NOT in a tty'; fi npm install npm run build