From 7779bb17cf6231a555f75a14fad22568f73f46dd Mon Sep 17 00:00:00 2001 From: orlyd Date: Thu, 22 Feb 2024 14:40:38 +0200 Subject: [PATCH] add build --- .github/workflows/ci.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) 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" },