feat: add alchemy balances provider #32
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test-and-lint: | |
| name: Test and Lint | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup dependencies | |
| uses: ./.github/workflows/actions/setup-dependencies | |
| with: | |
| authToken: ${{ secrets.PACKAGE_READ_AUTH_TOKEN }} | |
| - name: Run ESLint | |
| run: yarn lint | |
| - name: Run unit tests | |
| run: yarn test --ci --coverage | |
| - name: Upload test results and coverage | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| if: always() | |
| with: | |
| name: test-results | |
| path: | | |
| coverage/ | |
| test-results/ | |
| junit.xml | |
| retention-days: 30 | |
| if-no-files-found: ignore | |
| affected-test-and-lint: | |
| name: Test and Lint Affected Projects | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup dependencies | |
| uses: ./.github/workflows/actions/setup-dependencies | |
| with: | |
| authToken: ${{ secrets.PACKAGE_READ_AUTH_TOKEN }} | |
| - name: Lint affected projects | |
| run: npx nx affected --target=lint --base=origin/main | |
| - name: Test affected projects | |
| run: npx nx affected --target=test --base=origin/main --ci --coverage | |
| - name: Upload affected results | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| if: always() | |
| with: | |
| name: affected-results | |
| path: | | |
| coverage/ | |
| test-results/ | |
| junit.xml | |
| retention-days: 30 |