Skip to content

[Snyk] Security upgrade iam-client-lib from 6.2.1-alpha.2 to 8.1.0 #186

[Snyk] Security upgrade iam-client-lib from 6.2.1-alpha.2 to 8.1.0

[Snyk] Security upgrade iam-client-lib from 6.2.1-alpha.2 to 8.1.0 #186

Workflow file for this run

name: Build Client
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ 'master' ]
jobs:
cancel-previous:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
build:
runs-on: ubuntu-latest
needs: cancel-previous
env:
APP_DIR: $HOME/work/iam-client-examples/iam-client-examples/client
strategy:
matrix:
DAPPS: [angular-dapp, react-dapp]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2-beta
with:
node-version: '16.10.0'
- name: Build dapp
run: |
cd ${{ env.APP_DIR }}/${{ matrix.DAPPS }}
npm ci
npm run build
- name: Deploy client on instance
uses: burnett01/[email protected]
with:
switches: -rv
path: client/${{ matrix.DAPPS }}
remote_path: ~/iam-client-lib-deploy/
remote_host: ${{ secrets.SERVER_HOST }}
remote_user: ${{ secrets.SERVER_USER }}
remote_key: ${{ secrets.SERVER_KEY }}