From ea45f496dd69379919024319626996905a5981dc Mon Sep 17 00:00:00 2001 From: smit95tpatel Date: Thu, 28 Apr 2022 18:02:48 +0530 Subject: [PATCH] fix: testing docker image build --- .github/workflows/ci.yml | 3 +++ react-frontend/.npmrc | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 react-frontend/.npmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65e6c38b..8e8961a3 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,8 @@ name: CI on: [push] +env: + GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} + NPM_RAZORPAY_TOKEN: ${{ secrets.NPM_RAZORPAY_TOKEN }} jobs: cancel: runs-on: [ubuntu-latest] diff --git a/react-frontend/.npmrc b/react-frontend/.npmrc new file mode 100644 index 00000000..a479fa52 --- /dev/null +++ b/react-frontend/.npmrc @@ -0,0 +1,3 @@ +@razorpay:registry=https://npm.pkg.github.com/ +//npm.pkg.github.com/:always-auth=true +//npm.pkg.github.com/:_authToken=${GITHUB_ACCESS_TOKEN} \ No newline at end of file