We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 555ffa8 commit dbd8bbbCopy full SHA for dbd8bbb
.github/workflows/test.yml
@@ -67,7 +67,7 @@ jobs:
67
# We need Node.js only if `grep -q nodejs .tool-versions && [[ ! -f .node-version ]]`
68
- id: check-node
69
run: |
70
- if ! grep -q "node" .tool-versions && [[ ! -f .node-version ]] && [[ ! $(node --version) ]] && [[ ! $(npx --version) ]]; then
+ if ! grep -q "node" .tool-versions && [[ ! -f .node-version ]] && ([[ ! $(node --version) ]] || [[ ! $(npx --version) ]]); then
71
echo "require-node-install=1" >> $GITHUB_OUTPUT
72
fi
73
- if: ${{ steps.check-node.outputs.require-node-install }}
0 commit comments