feat: add and export wallet connectors #3
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: Tests | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
COVERAGE_FILE: ./coverage/report.json | |
jobs: | |
tests-jest: | |
name: JEST Tests | |
runs-on: buildjet-4vcpu-ubuntu-2204 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: FuelLabs/github-actions/setups/node@master | |
- uses: FuelLabs/github-actions/setups/docker@master | |
with: | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Unit tests running with JEST | |
- name: Find PR number | |
uses: jwalton/gh-find-current-pr@v1 | |
id: findPr | |
- name: Run Jest Tests | |
run: | | |
pnpm test:ci --outputFile="${{ env.COVERAGE_FILE }}" | |
- name: Publish coverage | |
uses: artiomtr/[email protected] | |
if: ${{ steps.findPr.outputs.number }} | |
with: | |
custom-title: Coverage report for Fuel Wallet | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
package-manager: pnpm | |
annotations: failed-tests | |
test-script: pnpm test:ci | |
working-directory: ./packages/fuel-wallet | |
coverage-file: ${{ env.COVERAGE_FILE }} | |
base-coverage-file: ${{ env.COVERAGE_FILE }} | |
- name: Publish coverage | |
uses: artiomtr/[email protected] | |
if: ${{ steps.findPr.outputs.number }} | |
with: | |
custom-title: Coverage report for Fuelet Wallet | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
package-manager: pnpm | |
annotations: failed-tests | |
test-script: pnpm test:ci | |
working-directory: ./packages/fuelet-wallet | |
coverage-file: ${{ env.COVERAGE_FILE }} | |
base-coverage-file: ${{ env.COVERAGE_FILE }} | |
- name: Publish coverage | |
uses: artiomtr/[email protected] | |
if: ${{ steps.findPr.outputs.number }} | |
with: | |
custom-title: Coverage report for Fuel Development Wallet | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
package-manager: pnpm | |
annotations: failed-tests | |
test-script: pnpm test:ci | |
working-directory: ./packages/fuel-development-wallet | |
coverage-file: ${{ env.COVERAGE_FILE }} | |
base-coverage-file: ${{ env.COVERAGE_FILE }} |