feat(kyve): use KyveSigner for reading on chain native address PE-6450 #662
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: Build and Test | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [18.x, 20.x] | |
command: ['lint', 'format', 'build'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node_version }} | |
cache: 'yarn' | |
- name: Clean Yarn cache | |
run: yarn cache clean | |
- name: Install dependencies | |
run: yarn | |
- name: Run ${{ matrix.command }} | |
run: yarn ${{ matrix.command }} | |
test: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: 'yarn' | |
- name: Clean Yarn cache | |
run: yarn cache clean | |
- name: Install dependencies | |
run: yarn --immutable --immutable-cache | |
- name: Log in to the GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run integration tests | |
run: yarn test:docker | |
env: | |
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }} | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: false | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |