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
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:
parent
aa9708876a
commit
256cb33026
1 changed files with 4 additions and 1 deletions
|
@ -57,10 +57,13 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2 # Necessário para acessar o commit anterior
|
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
|
- name: Verificar mudança de versão no package.json
|
||||||
id: check
|
id: check
|
||||||
run: |
|
run: |
|
||||||
apk add git jq
|
|
||||||
OLD_VERSION=$(git show HEAD^:package.json | jq -r '.version')
|
OLD_VERSION=$(git show HEAD^:package.json | jq -r '.version')
|
||||||
NEW_VERSION=$(jq -r '.version' package.json)
|
NEW_VERSION=$(jq -r '.version' package.json)
|
||||||
echo "Versão anterior: $OLD_VERSION"
|
echo "Versão anterior: $OLD_VERSION"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue