feat: migrate from reown to dynamic (#146) #682
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: | |
| permissions: | |
| actions: read | |
| contents: read | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: 1.3.2 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: .eslintcache | |
| key: eslint-${{ hashFiles('eslint.config.ts') }} | |
| restore-keys: eslint- | |
| - run: bun install --frozen-lockfile | |
| - run: bun run build | |
| - name: Create Sentry release and upload source maps | |
| if: github.ref == 'refs/heads/main' && github.event_name == 'push' | |
| env: | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| SENTRY_ORG: shapeshift-dao | |
| SENTRY_PROJECT: agent | |
| run: | | |
| curl -sL https://sentry.io/get-cli/ | bash | |
| VERSION=$(sentry-cli releases propose-version) | |
| sentry-cli releases new "$VERSION" | |
| sentry-cli releases set-commits "$VERSION" --auto --ignore-missing | |
| sentry-cli sourcemaps upload --release="$VERSION" apps/agentic-chat/dist | |
| sentry-cli releases finalize "$VERSION" | |
| - run: bun run type-check | |
| - run: bun run lint | |
| - run: bun run test |