Skip to content

[LUM-861] Wallet -> Update JS SDK #193

[LUM-861] Wallet -> Update JS SDK

[LUM-861] Wallet -> Update JS SDK #193

Workflow file for this run

# This workflow is intended to run each time a pull request is opened or updated
# It's performing unit and interface tests, and deploying on preview channels
name: Lint, format, test and deploy the wallet on pull request events
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- name: Set up Node version to 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install packages
run: yarn && cd src/frontend-elements && yarn
- name: Build
run: yarn build
env:
SASS_PATH: "node_modules:src/styles"
GENERATE_SOURCEMAP: "false"
REACT_APP_RPC_URL: "https://node0.testnet.lum.network/rpc"
- name: Test
run: yarn test
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
expires: 7d
projectId: lum-network
target: lum-network-wallet-testnet
env:
FIREBASE_CLI_PREVIEWS: hostingchannels