This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
fix: delete unused workflow file #27
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: Run tests | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
unit-frontend: | |
name: Test/Unit/Frontend | |
runs-on: ubuntu-latest-16-core | |
environment: devnet-1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install npm packages | |
run: npm ci | |
- name: Run Frontend unit tests | |
run: npm run frontend:test | |
env: | |
VITE_ERC20_MESSAGING_CONTRACT_ADDRESS: ${{ vars.VITE_ERC20_MESSAGING_CONTRACT_ADDRESS }} | |
VITE_SUBNET_REGISTRATOR_CONTRACT_ADDRESS: ${{ vars.VITE_SUBNET_REGISTRATOR_CONTRACT_ADDRESS }} | |
VITE_TOPOS_CORE_PROXY_CONTRACT_ADDRESS: ${{ vars.VITE_TOPOS_CORE_PROXY_CONTRACT_ADDRESS }} | |
unit-backend: | |
name: Test/Unit/Backend | |
runs-on: ubuntu-latest-16-core | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install npm packages | |
run: npm ci | |
- name: Run Backend unit tests | |
run: npm run backend:test | |
e2e: | |
name: Test/E2E | |
runs-on: ubuntu-latest | |
needs: | |
- unit-frontend | |
- unit-backend | |
steps: | |
- uses: convictional/[email protected] | |
with: | |
owner: topos-protocol | |
repo: e2e-tests | |
github_token: ${{ secrets.ROBOT_PAT_TRIGGER_E2E_WORKFLOWS }} | |
workflow_file_name: frontend:erc20-messaging.yml | |
ref: main | |
wait_interval: 60 | |
client_payload: '{ "dapp-frontend-erc20-messaging-ref": "${{ github.head_ref }}" }' |