From a382bfee01900cb728dbc7c3f82e0bd7f4b373bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Mon, 23 Feb 2026 23:34:16 +0100 Subject: [PATCH] update drone --- .drone.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6bd5743..488bd1c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -39,12 +39,10 @@ type: docker name: web-core-publish trigger: - branch: - - main event: - - promote - target: - - production + - tag + ref: + - refs/tags/v* steps: - name: publish-npm @@ -56,5 +54,6 @@ steps: - corepack enable - corepack prepare yarn@1.22.22 --activate - yarn install --frozen-lockfile + - test "v$(node -p \"require('./package.json').version\")" = "$DRONE_TAG" - npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN" - yarn publish:nexus