diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 350b15d2..6037a09c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,5 +27,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: yarn install + - run: yarn build-local - run: yarn lint - run: yarn test diff --git a/package.json b/package.json index fd03c2a3..92835f59 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "scripts": { "prepack": "npm run lint && tsc --project tsconfig.prod.json", "lint": "npx eslint src transformers test --ignore-pattern '*.d.ts' --ext .ts,.tsx,.js", + "build-local": "tsc --project tsconfig.json", "pretest": "tsc --project tsconfig.json", "test": "npx jest" },