From cc0ba7d3900f30107a1427f429ae8330829182f4 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 23 Sep 2023 23:27:56 +0100 Subject: [PATCH] fix build command in CI --- .github/workflows/ci.yml | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b95ec43..8267fa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,8 @@ jobs: with: node-version: ${{ matrix.node }} cache: 'npm' - - run: npm ci - - run: npm build + - run: npm run build coverage: runs-on: ubuntu-latest diff --git a/package.json b/package.json index 0d91820..2c167ab 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "build": "rm -rf ./dist && tsc", "start": "rm -rf ./dist && tsc --watch", "test": "npm run lint && npm run typecheck && npm run test:unit", - "test:unit": "vitest run --coverage --config './test/vitest.config.ts'", + "test:unit": "vitest run --coverage --config ./test/vitest.config.ts", "lint": "eslint src/", "typecheck": "tsc --noEmit", "format": "prettier --write 'src/**/*.{ts,js,json,md}'",