diff --git a/tools/make-nodejs.sh b/tools/make-nodejs.sh index cc5fe95bc..654ebb310 100755 --- a/tools/make-nodejs.sh +++ b/tools/make-nodejs.sh @@ -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..."