diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 563633ba7e189..499ad3842d31f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: # run: sudo PATH=$PATH $(which node) . run tap -- "test/tap/*.js" --coverage --timeout 600 - name: Lint - run: npx standard + run: node . run lint - name: Validate licenses run: node . run licenses diff --git a/package.json b/package.json index c5843fb74fe7f..401588b088599 100644 --- a/package.json +++ b/package.json @@ -296,7 +296,8 @@ "licenses": "licensee --production --errors-only", "tap": "tap -J --timeout 300 --no-esm", "tap-cover": "tap -J --nyc-arg=--cache --coverage --timeout 600 --no-esm", - "pretest": "standard", + "lint": "standard", + "pretest": "npm run lint", "test": "npm run test-tap --", "test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --", "sudotest": "sudo npm run tap -- \"test/tap/*.js\"",