Fix/change tx detail label #287
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: Integration Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- dev | |
- main | |
jobs: | |
integration-tests: | |
strategy: | |
fail-fast: true | |
matrix: | |
node: [18] | |
name: Integration tests | |
runs-on: [self-hosted, linux] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@astraprotocol' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Get yarn cache directory path | |
id: yarn-cache-dir-path | |
run: | | |
npm install -g yarn | |
echo yarn-cache-dir="$(yarn cache dir)" >> $GITHUB_OUTPUT | |
- uses: actions/cache@v2 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.yarn-cache-dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Setup npm token | |
run: npm config set '//npm.pkg.github.com/:_authToken' "${{secrets.GITHUB_TOKEN}}" | |
- name: Setup for cypress | |
run: sudo apt-get update -y && sudo apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb -y | |
- name: Cypress install | |
run: yarn install --frozen-lockfile | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: cypress-io/github-action@v5.0.7 # use the explicit version number | |
with: | |
build: npm run build | |
start: npm start | |
record: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CYPRESS: true | |
NEXT_PUBLIC_COSMOS_API: https://chainindexing.astranaut.io | |
NEXT_PUBLIC_EVM_API: https://blockscout.astranaut.io | |
NEXT_PUBLIC_URL: https://explorer.astranaut.io | |
NEXT_PUBLIC_CHAIN_ID: 11110 | |
NEXT_PUBLIC_TITLE: Astra Explorer | |
NEXT_PUBLIC_ENV: mainnet | |
NEXT_PUBLIC_WASA_ADDRESS: '0x6637D8275DC58983Cb3A2fa64b705EC11f6EC670' |