chore: add dependencias
Some checks failed
CI Pipeline / build-and-test (push) Successful in 1m11s
CI Pipeline / check-version (push) Successful in 13s
CI Pipeline / publish-staging (push) Failing after 13s
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / finish-deploy (push) Successful in 1s

This commit is contained in:
Leandro Costa 2025-05-25 19:37:22 -03:00
parent aa9708876a
commit 256cb33026

View file

@ -57,10 +57,13 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 2 # Necessário para acessar o commit anterior
- name: Instalando Dependencias
run: |
apk add git jq
ls -lha
- name: Verificar mudança de versão no package.json
id: check
run: |
apk add git jq
OLD_VERSION=$(git show HEAD^:package.json | jq -r '.version')
NEW_VERSION=$(jq -r '.version' package.json)
echo "Versão anterior: $OLD_VERSION"