Merge pull request 'chore: add config for workflow' (#26) from chore/fix-publish-workflow into main
All checks were successful
Publish npm package / publish (push) Successful in 2m7s

Reviewed-on: #26
This commit was merged in pull request #26.
This commit is contained in:
2026-03-24 13:32:30 +00:00
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",