From 3cc14b32c73a05c271801c190e6d1d04ee38986a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 18 Jun 2024 04:20:37 +0200 Subject: [PATCH] Attempt at fixing NPM login --- .gitea/workflows/publish.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 43aa69a..a041ea5 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -24,6 +24,8 @@ jobs: - name: Build run: npm run build - name: Publish - run: npm publish + run: | + npm adduser + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}