diff --git a/.github/workflows/test-types.yml b/.github/workflows/test-types.yml index 5a5bda3da..219c3cbde 100644 --- a/.github/workflows/test-types.yml +++ b/.github/workflows/test-types.yml @@ -1,5 +1,11 @@ name: Test Type Definitions -on: pull_request +on: + push: + branches: [main] + paths: [types/**/*] + pull_request: + branches: [main] + paths: [types/**/*] jobs: test: @@ -11,6 +17,5 @@ jobs: with: node-version: "12" - - run: npm install - run: npm run dtslint