1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 01:27:12 +02:00

Fix broken GitHub actions

Related discussion:
- ad69c760fb (commitcomment-54363709)
This commit is contained in:
Raymond Hill 2021-08-03 12:47:26 -04:00
parent 372356740a
commit 314d6082f2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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..."