From 60dcfa655029cf33944cc47732d5cbe745a3b11e Mon Sep 17 00:00:00 2001 From: Nicolas Lebrun Date: Thu, 23 May 2024 08:36:57 +0200 Subject: [PATCH] Update publish-package.yml --- .github/workflows/publish-package.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 0a6c58d..94fe9bb 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -12,9 +12,8 @@ jobs: with: node-version: "20" cache: "yarn" - - run: npm ci - - run: npm build - - uses: JS-DevTools/npm-publish@v3 - with: - access: public - token: ${{ secrets.NPM_TOKEN }} + - run: yarn install --immutable + - run: yarn build + - run: yarn publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}