From 11ed6d239ccbf4136acc39eaf7e84e4583d7c70f Mon Sep 17 00:00:00 2001 From: Leandro Costa Date: Sun, 25 May 2025 19:02:42 -0300 Subject: [PATCH] feat: add finish step --- .forgejo/workflows/build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 2b1ad60..8951bbd 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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".