diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index be7516cc964..b81e9bd4e67 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -1,11 +1,5 @@ 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: @@ -13,14 +7,6 @@ runs: 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 diff --git a/.github/workflows/blade-validate.yml b/.github/workflows/blade-validate.yml index de4c0de4307..35d1c959482 100644 --- a/.github/workflows/blade-validate.yml +++ b/.github/workflows/blade-validate.yml @@ -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 @@ -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 diff --git a/yarn.lock b/yarn.lock index 41303b2184e..4421e5dc220 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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":