feat: add developer preview build tooling #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build lace dev preview | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: Build + test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Decrypt test data | |
working-directory: ./packages/e2e-tests | |
run: ./decrypt_secret.sh | |
env: | |
WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} | |
- name: Build chrome stable version of Lace | |
uses: ./.github/shared/build | |
with: | |
BUILD_DEV_PREVIEW: 'true' | |
LACE_EXTENSION_KEY: ${{ secrets.DEV_PREVIEW_MANIFEST_PUBLIC_KEY }} | |
PRODUCTION_MODE_TRACKING: 'false' | |
- name: Check for linter issues | |
run: yarn lint | |
- name: Run unit tests, generate test coverage report | |
env: | |
AVAILABLE_CHAINS: 'Preprod,Preview,Mainnet' | |
DEFAULT_CHAIN: 'Preprod' | |
run: yarn test:coverage --maxWorkers=2 | |
- name: Upload build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Lace (Developer Preview) | |
path: apps/browser-extension-wallet/dist |