diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4432e14..cf0e974 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,4 +17,5 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm - run: npm install --include=dev + - run: npm run build - run: npm run test diff --git a/package.json b/package.json index 01cd3ce..9d36d6e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "csv2md": "bin/csv2md" }, "scripts": { - "test": "npm run build; npx mocha test/**/*.ts", + "test": "npx mocha test/**/*.ts", + "build-and-test": "npm run build && npx mocha test/**/*.ts", "build": "tsc --project tsconfig.json", "watch": "tsc --project tsconfig.json -w" }, diff --git a/tsconfig.json b/tsconfig.json index 5084509..94ebc62 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,6 @@ "module": "commonjs", "strict": true, "outDir": "dist", - // "allowSyntheticDefaultImports": true, "sourceMap": true, "skipLibCheck": true },