fix: ajuste no endpoint de impressão de pedidos.

This commit is contained in:
joelson brito
2025-11-05 15:40:32 -03:00
parent 3849fa1c4e
commit e448a44144
13 changed files with 847 additions and 165 deletions

58
.github/workflows/publish-sdk.yml vendored Normal file
View File

@@ -0,0 +1,58 @@
name: Publish SDK to GitHub Packages
on:
push:
tags:
- 'sdk-v*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
registry-url: 'https://npm.pkg.github.com'
scope: '@portaljuru'
- name: Install dependencies
run: cd sdk && npm ci
- name: Build SDK
run: cd sdk && npm run build
- name: Publish to GitHub Packages
run: cd sdk && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: SDK ${{ github.ref }}
body: |
## SDK Portal Jurunense API
Nova versão publicada no GitHub Packages.
### Instalação
```bash
npm install @portaljuru/api-client
```
Veja o [CHANGELOG](./sdk/CHANGELOG.md) para detalhes.
draft: false
prerelease: false