Skip to content

Commit

Permalink
[chore]: i18nify-js installed from npm registry + reverted github reg…
Browse files Browse the repository at this point in the history
…istry changes
  • Loading branch information
tarun-khanna committed Feb 5, 2024
1 parent a13df00 commit 82d6490
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
14 changes: 0 additions & 14 deletions .github/actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
name: install npm packages
description: Installs npm packages and manages it's cache
inputs:
npm_token:
required: true
github_access_token:
required: true

runs:
using: composite
steps:
- name: Install Yarn
run: npm install -g yarn
shell: bash

- name: Set up npmrc
run: |
echo "@razorpay:registry=https://npm.pkg.github.com/" > .npmrc
echo "//npm.pkg.github.com/:_authToken=${{ inputs.github_access_token }}" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${{ inputs.npm_token }}" >> .npmrc
echo "registry=http://registry.npmjs.org/" >> .npmrc
shell: bash

- name: Cache setup for node modules
uses: actions/cache@v3
id: cache
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/blade-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
node-version: 18.12.1
- name: Setup Cache & Install Dependencies
uses: ./.github/actions/install-dependencies
with:
npm_token: ${{ secrets.NPM_TOKEN }}
github_access_token: ${{ secrets.CI_BOT_TOKEN }}

- name: Build Blade
run: yarn build
working-directory: packages/blade
Expand Down Expand Up @@ -50,9 +46,6 @@ jobs:
node-version: 18.12.1
- name: Setup Cache & Install Dependencies
uses: ./.github/actions/install-dependencies
with:
npm_token: ${{ secrets.NPM_TOKEN }}
github_access_token: ${{ secrets.CI_BOT_TOKEN }}
- name: Run Unit Tests
run: yarn test
working-directory: packages/blade
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6803,7 +6803,7 @@

"@razorpay/i18nify-js@^1.3.1":
version "1.3.1"
resolved "https://npm.pkg.github.com/download/@razorpay/i18nify-js/1.3.1/322c7576845e5cc26b6579160b2091eeebc68803#322c7576845e5cc26b6579160b2091eeebc68803"
resolved "https://registry.yarnpkg.com/@razorpay/i18nify-js/-/i18nify-js-1.3.1.tgz#322c7576845e5cc26b6579160b2091eeebc68803"
integrity sha512-Slk18ln9JYoVpjzuS0X+cHer1Fyt5pPbcKFBLa8m0RcunOHQABSgMhVNWSmlwkZuhRmbD/Kvkx/FtuZekaJD4Q==

"@react-hook/intersection-observer@^3.1.1":
Expand Down

0 comments on commit 82d6490

Please sign in to comment.