We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02275f1 commit 7d3c2c8Copy full SHA for 7d3c2c8
.github/workflows/tests.yml
@@ -22,7 +22,8 @@ jobs:
22
- name: npm install, build, and test
23
# Note, we run bench and cov just to make sure they run successfully, but we're not doing anything with the result yet.
24
run: |
25
- if tty; then echo 'in a tty'; else echo 'NOT in a tty'; fi
+ isInteractive=$(tty -s && echo true || echo false)
26
+ if $isInteractive; then echo 'in a tty'; else echo 'NOT in a tty'; fi
27
npm install
28
npm run build
29
npm run doc
0 commit comments