diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5e640bca..320ffa3d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} run: | - cd ./dist/angular + cd ./dist/library npm version ${{github.ref_name}} npm publish --access=public diff --git a/package.json b/package.json index 8838092b..b0430c33 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "preview:zh": "ng s --configuration zh", "build": "ng b --configuration production", "build:ssr": "npm run build && ng run console:server", - "build:ng": "ng b angular --configuration production", + "build:ng": "ng b angular", "serve:ssr": "node dist/console/server/main.js", "test": "ng t angular --code-coverage --no-watch --no-progress --browsers=ChromeHeadlessCI", "lint": "ng lint",