diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 90a8ef83..c164d34a 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -48,7 +48,7 @@ jobs: - name: Lint frontend run: | - cd plugin + cd frontend npm ci npm run lint if [[ $(git status --porcelain) ]]; then @@ -59,6 +59,6 @@ jobs: - name: Test frontend run: | - cd plugin + cd frontend npm ci npm run test diff --git a/.github/workflows/publish-plugin.yml b/.github/workflows/publish-plugin.yml index 4b061dd0..8c494b85 100644 --- a/.github/workflows/publish-plugin.yml +++ b/.github/workflows/publish-plugin.yml @@ -29,7 +29,7 @@ jobs: - name: Build plugin run: | - cd plugin + cd frontend npm ci npm run build @@ -39,7 +39,7 @@ jobs: run: | tag="${GITHUB_REF#refs/tags/}" - cd plugin/dist + cd frontend/obsidian-plugin/dist gh release create "$tag" \ --title="$tag" \ diff --git a/frontend/sync-client/package.json b/frontend/sync-client/package.json index 2312bc28..0f658627 100644 --- a/frontend/sync-client/package.json +++ b/frontend/sync-client/package.json @@ -1,6 +1,7 @@ { "name": "sync-client", - "version": "1.0.0", + "version": "0.0.0", + "private": true, "main": "dist/index.js", "types": "dist/types/index.d.ts", "scripts": { @@ -25,4 +26,4 @@ "webpack": "^5.98.0", "webpack-cli": "^6.0.1" } -} +} \ No newline at end of file