Skip to content

fix indicator margin for governance item #2544

fix indicator margin for governance item

fix indicator margin for governance item #2544

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Create Firebase Hosting Preview on PR
on:
pull_request:
inputs:
astar_tag:
description: 'Release tag version for astar collator'
required: true
default: '4.47.1'
polkadot_tag:
description: 'Release tag version for polkadot relay chain'
required: true
default: '0.9.37'
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
permissions:
checks: write
contents: read
pull-requests: write
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.deploy_firebase_hosting_channel.outputs.details_url }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install -g yarn
- run: yarn && yarn build
- id: deploy_firebase_hosting_channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ASTAR_APPS }}'
projectId: astar-apps
e2etest:
permissions:
checks: write
contents: read
pull-requests: write
timeout-minutes: 60
runs-on: ubuntu-latest
needs: build_and_preview
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
# run: BASE_URL='${{needs.build_and_preview.outputs.output1}}' HEADLESS='true' ENDPOINT='ws://127.0.0.1:50001' npx playwright test --project=chromium
run: BASE_URL='${{needs.build_and_preview.outputs.output1}}' yarn playwright:ci
# working-directory: ./tests
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30