From 8a283236b3b567011a4882299dcfd431a1c7fda2 Mon Sep 17 00:00:00 2001 From: omer-topal Date: Thu, 26 Mar 2026 19:32:25 +0300 Subject: [PATCH] chore: change publish action --- .github/workflows/publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7244562..d127c3e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,11 +22,11 @@ jobs: cache-dependency-path: ./yarn.lock cache: "yarn" node-version: 20 + registry-url: "https://registry.npmjs.org" - - uses: bahmutov/npm-install@3e063b974f0d209807684aa23e534b3dde517fd9 # v1.11.2 - with: - useLockFile: false - + - name: Install dependencies + run: yarn install --frozen-lockfile --non-interactive + - name: Build run: yarn build @@ -38,7 +38,7 @@ jobs: - run: "npm version ${VERSION} --no-git-tag-version" - - uses: JS-DevTools/npm-publish@7f8fe47b3bea1be0c3aec2b717c5ec1f3e03410b # v4.1.1 - with: - token: ${{ secrets.NPM_TOKEN }} - access: public + - name: Publish to NPM + run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}