Skip to content

deps: update boa (#125) #309

deps: update boa (#125)

deps: update boa (#125) #309

Workflow file for this run

name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test-webui:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: LuisEnMarroquin/[email protected]
with:
SSHKEY: ${{ secrets.CC_GA }} # ----- BEGIN RSA PRIVATE KEY----- ...
- run: ssh -T [email protected] || true
- run: git submodule update --init --recursive
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: build packages
run: pnpm run -r build
- name: Install dependencies for builded packages
run: pnpm install
- name: Build contract
run: cd packages/webui && npm run build-contract
- name: Install Playwright Browsers
run: cd packages/webui && pnpm exec playwright install --with-deps
- name: Build fe
run: cd packages/webui && npm run build
- name: Run Playwright tests
run: cd packages/webui && pnpm exec playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: packages/webui/playwright-report/
retention-days: 30
test-landapp:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: LuisEnMarroquin/[email protected]
with:
SSHKEY: ${{ secrets.CC_GA }} # ----- BEGIN RSA PRIVATE KEY----- ...
- run: ssh -T [email protected] || true
- run: git submodule update --init --recursive
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: build packages
run: pnpm run -r build
- name: Install Playwright Browsers
run: cd packages/land_app && pnpm exec playwright install --with-deps
- name: Build fe
run: cd packages/land_app && npm run build
- name: Run Playwright tests
run: cd packages/land_app && pnpm exec playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: packages/land_app/playwright-report/
retention-days: 30