1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-21 01:40:12 -07:00

modified workflow files

This commit is contained in:
Pavlo Buidenkov 2020-11-22 17:43:05 +02:00
parent b925803d9f
commit 9d5cd029e5
3 changed files with 27 additions and 18 deletions

View File

@ -13,20 +13,23 @@ jobs:
with: with:
node-version: 14 node-version: 14
# - name: yarn install from npmjs registry - name: yarn install from npmjs registry
# run: | run: |
# yarn install --no-lockfile cd app/client
# yarn install-client:nolockfile yarn install --no-lockfile
cd ../..
yarn install --no-lockfile
- name: Configure private AWS npm registry and install packages from it - name: Configure private AWS npm registry and install packages from it
# if: ${{ failure() }} if: ${{ failure() }}
run: | run: |
npm config set registry https://packages.deskreen.com/ npm config set registry https://packages.deskreen.com/
npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}" npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}"
npm config set always-auth true npm config set always-auth true
yarn install --frozen-lockfile
cd app/client cd app/client
yarn install --frozen-lockfile yarn install --frozen-lockfile
cd ../..
yarn install --frozen-lockfile
- name: yarn build - name: yarn build
run: yarn build run: yarn build

View File

@ -46,20 +46,23 @@ jobs:
with: with:
node-version: 14 node-version: 14
# - name: yarn install from npmjs registry - name: yarn install from npmjs registry
# run: | run: |
# yarn install --no-lockfile cd app/client
# yarn install-client:nolockfile yarn install --no-lockfile
cd ../..
yarn install --no-lockfile
- name: Configure private AWS npm registry and install packages from it - name: Configure private AWS npm registry and install packages from it
# if: ${{ failure() }} if: ${{ failure() }}
run: | run: |
npm config set registry https://packages.deskreen.com/ npm config set registry https://packages.deskreen.com/
npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}" npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}"
npm config set always-auth true npm config set always-auth true
yarn install --frozen-lockfile
cd app/client cd app/client
yarn install --frozen-lockfile yarn install --frozen-lockfile
cd ../..
yarn install --frozen-lockfile
- name: yarn package-ci - name: yarn package-ci
env: env:

View File

@ -21,20 +21,23 @@ jobs:
with: with:
node-version: 14 node-version: 14
# - name: yarn install from npmjs registry - name: yarn install from npmjs registry
# run: | run: |
# yarn install --no-lockfile cd app/client
# yarn install-client:nolockfile yarn install --no-lockfile
cd ../..
yarn install --no-lockfile
- name: Configure private AWS npm registry and install packages from it - name: Configure private AWS npm registry and install packages from it
# if: ${{ failure() }} if: ${{ failure() }}
run: | run: |
npm config set registry https://packages.deskreen.com/ npm config set registry https://packages.deskreen.com/
npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}" npm set //packages.deskreen.com/:_authToken="${{ secrets.NPMRC_USER_TOKEN }}"
npm config set always-auth true npm config set always-auth true
yarn install --frozen-lockfile
cd app/client cd app/client
yarn install --frozen-lockfile yarn install --frozen-lockfile
cd ../..
yarn install --frozen-lockfile
# following step does code signing when `electron-builder --publish always` (look in package.json) # following step does code signing when `electron-builder --publish always` (look in package.json)
- name: yarn package-ci - name: yarn package-ci