chore: add config for workflow

This commit is contained in:
2026-03-24 14:31:59 +01:00
parent 08fffa7cbb
commit 648a0764cd
2 changed files with 7 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://git.blassanto.me/api/packages/blas/npm/'
- name: Install dependencies
run: npm ci
@@ -27,6 +26,12 @@ jobs:
- name: Build
run: npm run build
- name: Configure Gitea registry auth
run: |
echo "//git.blassanto.me/api/packages/blas/npm/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.TOKEN }}
- name: Publish to Gitea
run: npm publish
env:

View File

@@ -1,5 +1,5 @@
{
"name": "openapi-clean-arch-generator",
"name": "@blas/openapi-clean-arch-generator",
"version": "1.0.0",
"description": "Generador de código Angular con Clean Architecture desde OpenAPI/Swagger",
"main": "dist/generate.js",