Solana integration #975
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
| # Build, Test, and Report | |
| name: Build, Test, and Report | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-n-test: | |
| permissions: | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Enable Corepack and Set pnpm version | |
| run: | | |
| corepack enable | |
| corepack prepare [email protected] --activate | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run Build | |
| run: pnpm build | |
| # 🛑 Tests are temporarily disabled until we figure out testing strategy | |
| - name: Run tests (skipped) | |
| run: echo "Skipping tests for now - CI test step disabled" | |
| # You can re-enable later by restoring: | |
| # - name: Run tests | |
| # run: pnpm test:coverage | |
| # env: | |
| # TENDERLY_ACCESS_KEY: ${{ secrets.TENDERLY_ACCESS_KEY }} | |
| # PROJECT_SLUG: ${{ secrets.PROJECT_SLUG }} | |
| # ACCOUNT_SLUG: ${{ secrets.ACCOUNT_SLUG }} | |
| # DEBUG: ${{ github.run_attempt > 1 }} | |
| - name: Upload test results | |
| if: success() || failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-results | |
| path: | | |
| report/ | |
| coverage/lcov-report/ | |
| retention-days: 15 | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| directory: ./coverage | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| name: sdk-coverage | |
| fail_ci_if_error: false |