diff --git a/.github/workflows/cli-test.yml b/.github/workflows/cli-test.yml index 47b11a7..11fd6d4 100644 --- a/.github/workflows/cli-test.yml +++ b/.github/workflows/cli-test.yml @@ -30,5 +30,5 @@ jobs: node-version: ${{ matrix.node }} - run: | yarn install --frozen-lockfile - yarn test + yarn lint working-directory: ./cli diff --git a/cli/package.json b/cli/package.json index d9a06d8..1c0ff0a 100644 --- a/cli/package.json +++ b/cli/package.json @@ -31,7 +31,7 @@ "clean": "rimraf dist", "compile": "babel index.js -o dist/babel.js && ncc build dist/babel.js -o dist && rimraf dist/babel.js", "run": "yarn compile && node dist/index.js", - "test": "eslint ./src/*.js", + "lint": "eslint index.js", "prepublishOnly": "yarn clean && yarn compile" }, "dependencies": {},