diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e398f19..c906d5f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: node-version: 18 cache: pnpm - run: pnpm install --frozen-lockfile - - run: pnpm run build + - run: pnpm -r run build - run: pnpm run version - name: Release env: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aa57450..f926296 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,4 +14,5 @@ jobs: node-version: 18 cache: pnpm - run: pnpm install --frozen-lockfile + - run: pnpm -r run build - run: pnpm exec jest diff --git a/package.json b/package.json index caed09e..99e930d 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "scripts": { "postinstall": "husky install", "dev": "pnpm -r --filter '@waynevanson/obsidian-plugin-data-entry' run dev", - "build": "pnpm -r --filter '@waynevanson/obsidian-plugin-data-entry' run build", + "build": "pnpm -r run build", "version": "pnpm -r --filter '@waynevanson/obsidian-plugin-data-entry' run version", "release": "pnpm -r --filter '@waynevanson/obsidian-plugin-data-entry' exec semantic-release" },