feat: MET-1698 retired type #5087
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 Explorer e2e Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: self-hosted | |
steps: | |
- name: ⬇️ Checkout repository | |
uses: actions/checkout@v3 | |
- name: 🦾 Create .env file | |
run: | | |
echo "PORT=3000" > .env | |
echo "REACT_APP_VERSION=$npm_package_version" >> .env | |
echo "REACT_APP_API_URL=${EXPLORER_API_MAINNET_URL}" >> .env | |
echo "REACT_APP_MAINNET_APP_URL=${EXPLORER_API_MAINNET_URL}" >> .env | |
echo 'REACT_APP_NETWORK_NAMES="{"mainnet":"Mainnet","preprod":"Preprod"}"' >> .env | |
- name: 🫡 Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: 🧘♀️ Download dependencies | |
run: npm ci | |
- name: 🎳 Run tests | |
run: npm test | |
- name: 📹 Archive test videos | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: videos | |
path: ./cypress/videos | |
- name: 🖼️ Archive test screenshots | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: screenshots | |
path: ./cypress/screenshots | |
env: | |
EXPLORER_API_MAINNET_URL: ${{ secrets.EXPLORER_API_MAINNET_URL }} |