From 3cd398459fb7b6468268254ad3ecc140703e538d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A8re=20Pique?= Date: Thu, 12 Sep 2024 09:49:26 +0200 Subject: [PATCH 1/2] chore: add job to add npm token to publish --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27acb13..6b62cdf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,11 @@ jobs: - name: Build run: yarn build + - name: Set Registry token + run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc + env: + NPM_TOKEN: ${{ secrets.SOCIALGROOVYBOT_NPM_TOKEN }} + - name: Semantic Release id: semantic uses: cycjimmy/semantic-release-action@v4 From ef70f8ec7aba7cf51d281738178260e1d2332075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A8re=20Pique?= Date: Thu, 12 Sep 2024 09:49:54 +0200 Subject: [PATCH 2/2] chore: update npm version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 85dd61e..f85e5c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@socialgouv/dsfr-toaster-nuxt-module", - "version": "1.3.1", + "version": "1.3.2", "description": "Module Nuxt Dsfr Toaster", "license": "Apache-2.0", "publishConfig": { @@ -57,4 +57,4 @@ "lint-staged": { "src/**/*.{js,vue,ts}": "npx eslint --cache --fix" } -} +} \ No newline at end of file