diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index bb87e3c8e8..8be3574b89 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,7 @@ jobs: - run: npm install # Run tests - - run: npm run test + - run: npm run test-all - name: "Run Danger" env: diff --git a/README.md b/README.md index 5a31a4dd9a..29052e427f 100644 --- a/README.md +++ b/README.md @@ -338,16 +338,15 @@ For more details, see [dtslint](https://github.com/Microsoft/dtslint#write-tests ## Verifying -Test your changes by running `npm run lint package-name` where `package-name` is the name of your package. - -This script uses [dtslint](https://github.com/Microsoft/dtslint) to run the TypeScript compiler against your dts files. +Test your changes by running `npm test package-name` where `package-name` is the name of your package. +This script uses [dtslint](https://github.com/microsoft/dtslint) to run the TypeScript compiler against your dts files. ## FAQ #### What exactly is the relationship between this repository and the `@types` packages on NPM? -The `master` branch is automatically published to the `@types` scope on NPM thanks to [types-publisher](https://github.com/Microsoft/types-publisher). +The `master` branch is automatically published to the `@types` scope on NPM thanks to [types-publisher](https://github.com/microsoft/DefinitelyTyped-tools). #### I've submitted a pull request. How long until it is merged? diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4a478c5ca6..3ece89c446 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,10 +17,10 @@ jobs: if [[ $BUILD_REASON == "Schedule" ]]; then git config --global user.email "types@microsoft.com" && git config --global user.name "TypeScript Bot" && npm run update-codeowners; fi git checkout -- . - npm run test + npm run test-all - displayName: 'npm run test' + displayName: 'npm run test-all' trigger: - master diff --git a/package.json b/package.json index 60c599ad80..185d11d14b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "compile-scripts": "tsc -p scripts", "not-needed": "node scripts/not-needed.js", "update-codeowners": "node scripts/update-codeowners.js", - "test": "node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path .", + "test-all": "node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path .", + "test": "dtslint types", "lint": "dtslint types", "prettier": "prettier" },