From 8a23a5f32796be85e1e8a7f2b8ad9c52c2baecbb Mon Sep 17 00:00:00 2001 From: smit95tpatel Date: Fri, 29 Apr 2022 13:53:28 +0530 Subject: [PATCH] feat: testing workflow --- .github/workflows/ci.yml | 2 ++ Dockerfile.base | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62a859a4..f7574107 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,7 @@ name: CI on: [push] +env: + GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} jobs: cancel: runs-on: [ubuntu-latest] diff --git a/Dockerfile.base b/Dockerfile.base index 1b62e9cb..152b7ef3 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -14,6 +14,7 @@ RUN yarn build && yarn cache clean WORKDIR /statping-react COPY ./react-frontend/package.json . COPY ./react-frontend/yarn.lock . +COPY ./react-frontend/.npmrc . RUN yarn install --pure-lockfile --network-timeout 1000000 COPY ./react-frontend/ . RUN yarn build && yarn cache clean