Skip to content

fix: Solana and WalletConnect Web3Modal conflicts #407

fix: Solana and WalletConnect Web3Modal conflicts

fix: Solana and WalletConnect Web3Modal conflicts #407

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
push:
branches:
- release
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
FORC_VERSION: 0.61.2
CORE_VERSION: 0.31.0
jobs:
tests-vitest:
name: Vitest Tests
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: FuelLabs/github-actions/setups/node@master
with:
node-version: 20.11.0
pnpm-version: 8.15.7
- uses: FuelLabs/github-actions/setups/docker@master
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install Fuel toolchain
uses: FuelLabs/[email protected]
with:
name: my-toolchain
components: forc@${{ env.FORC_VERSION }}, fuel-core@${{ env.CORE_VERSION }}
# Unit tests running with Vitest
- name: Find PR number
uses: jwalton/gh-find-current-pr@v1
if: ${{ github.event_name == 'pull_request' }}
id: findPr
- name: Run Vitest
run: |
pnpm test:ci
- name: Publish Fuel Wallet Coverage
uses: davelosert/vitest-coverage-report-action@v2
if: ${{ always() && steps.findPr.outputs.number }}
with:
name: 'Fuel Wallet'
working-directory: ./packages/fuel-wallet
json-summary-path: ./coverage/coverage-summary.json
json-final-path: ./coverage/coverage-final.json
- name: Publish Fuel Development Wallet Coverage
uses: davelosert/vitest-coverage-report-action@v2
if: ${{ always() && steps.findPr.outputs.number }}
with:
name: 'Fuel Development Wallet'
working-directory: ./packages/fuel-development-wallet
json-summary-path: ./coverage/coverage-summary.json
json-final-path: ./coverage/coverage-final.json
- name: Publish Fuelet Wallet Coverage
uses: davelosert/vitest-coverage-report-action@v2
if: ${{ always() && steps.findPr.outputs.number }}
with:
name: 'Fuelet Wallet'
working-directory: ./packages/fuelet-wallet
json-summary-path: ./coverage/coverage-summary.json
json-final-path: ./coverage/coverage-final.json