Skip to content

Commit 2886019

Browse files
committed
Exit if running in an Actions workflow
1 parent 6592567 commit 2886019

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scripts/check-node-modules.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
3+
# Check if running in GitHub Actions
4+
if [ "$GITHUB_ACTIONS" = "true" ]; then
5+
exit 0
6+
fi
7+
28
set -e
39

410
# Check if npm install is likely needed before proceeding

0 commit comments

Comments
 (0)