From 1637e5c425c5a57cd44e98ac4acf17be9836a816 Mon Sep 17 00:00:00 2001 From: Zaid Kureshi <48899828+imzedi@users.noreply.github.com> Date: Tue, 3 Dec 2024 13:37:09 +0530 Subject: [PATCH] hotfix: authenticate Gemfury using .npmrc file (#113) * Fix: authenticate gemfury using npmrc file * 2.1.1 * Fix: version fixed --- .github/workflows/npm-publish-pro.yml | 6 ++++-- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish-pro.yml b/.github/workflows/npm-publish-pro.yml index f36398ec..db7e706f 100644 --- a/.github/workflows/npm-publish-pro.yml +++ b/.github/workflows/npm-publish-pro.yml @@ -13,8 +13,10 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 22.11.0 - registry-url: "https://npm-proxy.fury.io/iconscout/" - scope: "@iconscout" + - name: Set Gemfury Config + run: printf "@iconscout:registry=https://npm-proxy.fury.io/iconscout/\n//npm-proxy.fury.io/iconscout/:_authToken=${NPM_TOKEN}" > ~/.npmrc + env: + NPM_TOKEN: ${{ secrets.FURY_AUTH_TOKEN }} - name: Download & Build Icons run: | npm ci --progress=false diff --git a/package-lock.json b/package-lock.json index 5e1581c8..aa2cd8a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@iconscout/react-unicons", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 0316e1b6..007bbf71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@iconscout/react-unicons", - "version": "2.2.0", + "version": "2.2.1", "description": "4,500+ vector icons as easy to use React Components", "main": "./lib/cjs/index.js", "module": "./index.js",