Skip to content

Commit

Permalink
feat(embed): publish code embed to npm (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Nov 5, 2023
1 parent c4ea9c4 commit 15d90b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'packages/embed/README.publish.md'

jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -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
3 changes: 2 additions & 1 deletion packages/embed/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 15d90b4

Please sign in to comment.