refactor: Change the use of Activity react component to have free sta… #1941
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] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| NEXT_PUBLIC_EXPLORER_API_URL: http://localhost:4350/graphql | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| package_json_file: "package.json" | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22.12.0 | |
| cache: "pnpm" | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Code format check | |
| run: pnpm format:check | |
| - name: Linting | |
| run: pnpm lint | |
| - name: Run Tests | |
| run: pnpm test:ci | |
| - name: Merge coveralls reports | |
| run: pnpm coveralls | |
| - name: Publish coveralls report | |
| uses: coverallsapp/github-action@master | |
| with: | |
| path-to-lcov: "coverage/lcov.info" | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |