Skip to content

Fix/rn error crash #381

Fix/rn error crash

Fix/rn error crash #381

Workflow file for this run

name: test_web
on:
workflow_dispatch:
push:
branches: [main,master]
pull_request:
branches: [main,master]
jobs:
test_web:
runs-on: ubuntu-latest
env:
TEST_ENDPOINT: dapp-example.onekeytest.com
steps:
- uses: actions/checkout@v2
- name: Setup Environment
uses: actions/setup-node@v2
with:
node-version: 16.x
registry-url: 'https://registry.npmjs.org'
- name: Install Dependency
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo 'skipped yarn install at workspace root'
- name: Build Target
run: |
yarn example-build
cp ./packages/example/out/index.html ./packages/example/out/404.html
- name: Deploy Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/example/out
cname: ${{ env.TEST_ENDPOINT }}
force_orphan: true