Skip to content

Commit dbd8bbb

Browse files
1 parent 555ffa8 commit dbd8bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# We need Node.js only if `grep -q nodejs .tool-versions && [[ ! -f .node-version ]]`
6868
- id: check-node
6969
run: |
70-
if ! grep -q "node" .tool-versions && [[ ! -f .node-version ]] && [[ ! $(node --version) ]] && [[ ! $(npx --version) ]]; then
70+
if ! grep -q "node" .tool-versions && [[ ! -f .node-version ]] && ([[ ! $(node --version) ]] || [[ ! $(npx --version) ]]); then
7171
echo "require-node-install=1" >> $GITHUB_OUTPUT
7272
fi
7373
- if: ${{ steps.check-node.outputs.require-node-install }}

0 commit comments

Comments
 (0)