diff --git a/.circleci/config.yml b/.circleci/config.yml index 8862551..fa44130 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,6 +14,7 @@ jobs: - v1-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}} - v1-yarn-{{checksum ".circleci/config.yml"}} - run: yarn + - run: yarn test # - run: yarn add -D nyc@13 @oclif/nyc-config@1 # - run: | # $NYC yarn test diff --git a/package.json b/package.json index d0defc1..a823dd7 100644 --- a/package.json +++ b/package.json @@ -47,10 +47,10 @@ "repository": "oclif/errors", "scripts": { "build": "rm -rf lib && tsc", - "lint": "tsc -p test --noEmit && eslint . --ext .ts --config .eslintrc", - "posttest": "yarn lint", + "lint": "eslint . --ext .ts --config .eslintrc", + "posttest": "rm -rf lib && yarn lint", "prepublishOnly": "yarn run build", - "pretest": "yarn run build", + "pretest": "yarn run build && tsc -p test --noEmit", "test": "mocha --forbid-only \"test/**/*.test.ts\"" }, "types": "lib/index.d.ts"