feat: integracao do UI, base para orquestracao dos componentes #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚀 Publish Package to npmjs | |
on: | |
workflow_call: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- run: bun install | |
- run: bun test | |
- run: bun run build | |
- run: npm publish --access public | |
env: | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} |