Skip to content

Commit 1637e5c

Browse files
authored
hotfix: authenticate Gemfury using .npmrc file (#113)
* Fix: authenticate gemfury using npmrc file * 2.1.1 * Fix: version fixed
1 parent f6f3bd8 commit 1637e5c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/npm-publish-pro.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 22.11.0
16-
registry-url: "https://npm-proxy.fury.io/iconscout/"
17-
scope: "@iconscout"
16+
- name: Set Gemfury Config
17+
run: printf "@iconscout:registry=https://npm-proxy.fury.io/iconscout/\n//npm-proxy.fury.io/iconscout/:_authToken=${NPM_TOKEN}" > ~/.npmrc
18+
env:
19+
NPM_TOKEN: ${{ secrets.FURY_AUTH_TOKEN }}
1820
- name: Download & Build Icons
1921
run: |
2022
npm ci --progress=false

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iconscout/react-unicons",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "4,500+ vector icons as easy to use React Components",
55
"main": "./lib/cjs/index.js",
66
"module": "./index.js",

0 commit comments

Comments
 (0)