From 60ff7f4e9954446044626fa69ae32cadbf2a6f25 Mon Sep 17 00:00:00 2001 From: natxocc Date: Sun, 26 Apr 2026 15:43:56 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20.github/workflows/unpublish.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/unpublish.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/unpublish.yml diff --git a/.github/workflows/unpublish.yml b/.github/workflows/unpublish.yml new file mode 100644 index 0000000..b84fd07 --- /dev/null +++ b/.github/workflows/unpublish.yml @@ -0,0 +1,22 @@ +name: Delete npm version + +on: + workflow_dispatch: + inputs: + version: + description: 'Versión a eliminar' + required: true + +jobs: + delete: + runs-on: ubuntu-latest + steps: + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: '20' + registry-url: 'https://registry.npmjs.org' + - name: Unpublish version + run: npm unpublish sigpro@${{ github.event.inputs.version }} --force + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file