feat: add finish step
Some checks failed
CI Pipeline / build-and-test (push) Successful in 1m5s
CI Pipeline / publish-staging (push) Failing after 19s
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / finish-deploy (push) Successful in 0s

This commit is contained in:
Leandro Costa 2025-05-25 19:02:42 -03:00
parent 63f9cd6207
commit 11ed6d239c

View file

@ -70,8 +70,8 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
publish-production:
runs-on: ubuntu-latest
needs: build-and-test
runs-on: docker
needs: prepare-package
container:
image: node:20-alpine
if: github.ref == 'refs/heads/master'
@ -92,3 +92,11 @@ jobs:
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
finish-deploy:
runs-on: docker
needs: prepare-package
steps:
- name: Publish to NPM (production)
run: |
echo "OK Done".