mirror of https://github.com/gorhill/uBlock.git
Fix broken GitHub actions
Related discussion:
- ad69c760fb (commitcomment-54363709)
This commit is contained in:
parent
372356740a
commit
314d6082f2
|
@ -56,7 +56,10 @@ cp platform/nodejs/*.js $DES/
|
|||
cp platform/nodejs/*.json $DES/
|
||||
cp LICENSE.txt $DES/
|
||||
|
||||
eslint -c platform/nodejs/eslintrc.json $DES/js $DES/*.js
|
||||
# Ignore eslint when building with GitHub Actions
|
||||
if [ -z "$GITHUB_REF" ]; then
|
||||
eslint -c platform/nodejs/eslintrc.json $DES/js $DES/*.js
|
||||
fi
|
||||
|
||||
if [ "$1" = all ]; then
|
||||
echo "*** uBlock0.nodejs: Creating plain package..."
|
||||
|
|
Loading…
Reference in New Issue