diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 305dbd3..ef18ea8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,9 @@ jobs: npm run build --if-present cd .. && cd .. npm ci - npm run build + npm run build --if-present + env: + CI: true - name: Release env: GITHUB_TOKEN: ${{ secrets.gh_token }} diff --git a/package.json b/package.json index 73856ab..4245fc7 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "build": "tsc && npm run copy-files", "copy-files": "copyfiles -u 1 ./src/dashboard/build/** ./dist/", "start": "npm run build & ts-node index.ts", - "prepublish": "npm run build", "example": "cd src && cd dashboard && npm run build && cd .. && cd .. && npm run build && cd dist/example && node index", "semantic-release": "semantic-release" },