diff --git a/.github/workflows/publish-embed.yml b/.github/workflows/publish-embed.yml index 5b99d128..2824cf49 100644 --- a/.github/workflows/publish-embed.yml +++ b/.github/workflows/publish-embed.yml @@ -9,7 +9,7 @@ on: - 'packages/embed/README.publish.md' jobs: - build: + publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -29,4 +29,4 @@ jobs: cp README.publish.md build/README.md cd build npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} - yarn publish:lib + npm publish --access=public diff --git a/packages/embed/tsconfig.json b/packages/embed/tsconfig.json index 0da2048c..e68cd4e8 100644 --- a/packages/embed/tsconfig.json +++ b/packages/embed/tsconfig.json @@ -7,7 +7,8 @@ "composite": true, "sourceMap": false, "lib": ["es2021", "dom"], - "target": "es2021" + "target": "es2021", + "emitDecoratorMetadata": false }, "files": ["env.d.ts"], "include": ["src", "__tests__", "index.ts"],