chore: fix publish.yml

This commit is contained in:
Antonella Sgarlatta
2026-02-06 16:07:06 -03:00
parent fa84b77a52
commit f1731843d9
2 changed files with 6 additions and 1 deletions

View File

@@ -155,6 +155,10 @@ jobs:
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Upgrade npm (trusted publishing requirement)
run: npm install -g npm@^11.5.1
- name: Enable Corepack (Yarn)
run: corepack enable
- name: Setup git config
run: |
git config --global user.name "standardci"
@@ -178,6 +182,7 @@ jobs:
publish-docker:
name: Publish to Docker Hub
needs: build-docker
if: "${{ contains(github.event.head_commit.message, 'chore(release): publish') == false }}"
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub