From 9d5cd029e5ce40c30c891f6fb6cf37edef17842b Mon Sep 17 00:00:00 2001 From: Pavlo Buidenkov Date: Sun, 22 Nov 2020 17:43:05 +0200 Subject: [PATCH] modified workflow files --- .github/workflows/codecov.yml | 15 +++++++++------ .github/workflows/release.yml | 15 +++++++++------ .github/workflows/test.yml | 15 +++++++++------ 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 223a32a..3ad3952 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -13,20 +13,23 @@ jobs: with: node-version: 14 - # - name: yarn install from npmjs registry - # run: | - # yarn install --no-lockfile - # yarn install-client:nolockfile + - name: yarn install from npmjs registry + run: | + cd app/client + yarn install --no-lockfile + cd ../.. + yarn install --no-lockfile - name: Configure private AWS npm registry and install packages from it - # if: ${{ failure() }} + if: ${{ failure() }} run: | npm config set registry https://packages.deskreen.com/ npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}" npm config set always-auth true - yarn install --frozen-lockfile cd app/client yarn install --frozen-lockfile + cd ../.. + yarn install --frozen-lockfile - name: yarn build run: yarn build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38c9b98..c5ac2be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,20 +46,23 @@ jobs: with: node-version: 14 - # - name: yarn install from npmjs registry - # run: | - # yarn install --no-lockfile - # yarn install-client:nolockfile + - name: yarn install from npmjs registry + run: | + cd app/client + yarn install --no-lockfile + cd ../.. + yarn install --no-lockfile - name: Configure private AWS npm registry and install packages from it - # if: ${{ failure() }} + if: ${{ failure() }} run: | npm config set registry https://packages.deskreen.com/ npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}" npm config set always-auth true - yarn install --frozen-lockfile cd app/client yarn install --frozen-lockfile + cd ../.. + yarn install --frozen-lockfile - name: yarn package-ci env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 151530b..b7a34d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,20 +21,23 @@ jobs: with: node-version: 14 - # - name: yarn install from npmjs registry - # run: | - # yarn install --no-lockfile - # yarn install-client:nolockfile + - name: yarn install from npmjs registry + run: | + cd app/client + yarn install --no-lockfile + cd ../.. + yarn install --no-lockfile - name: Configure private AWS npm registry and install packages from it - # if: ${{ failure() }} + if: ${{ failure() }} run: | npm config set registry https://packages.deskreen.com/ npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}" npm config set always-auth true - yarn install --frozen-lockfile cd app/client yarn install --frozen-lockfile + cd ../.. + yarn install --frozen-lockfile # following step does code signing when `electron-builder --publish always` (look in package.json) - name: yarn package-ci