Skip to content

Commit 11efe6c

Browse files
committed
ci(gh-actions): bash strict mode
1 parent a75cf28 commit 11efe6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/jslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
run: |
2323
set -euo pipefail
2424
IFS=$'\n\t'
25-
npm install -g [email protected]
26-
if npm outdated --global | tee -a /dev/stderr | grep -q -e .; then
25+
sudo npm install -g [email protected]
26+
if sudo npm outdated --global | tee -a /dev/stderr | grep -q -e .; then
2727
exit 1
2828
fi
2929
- name: Run JSLint

0 commit comments

Comments
 (0)