chore(frontend): upgrade Vite to 8 (#1065) #1713
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: Subgraph | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| - release/* | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| - release/* | |
| permissions: {} # lock everything by default (least-privilege) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-subgraph: | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: read | |
| defaults: | |
| run: | |
| working-directory: subgraph | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v6 | |
| - name: Setup environment | |
| uses: ./.github/actions/setup-env | |
| - name: Build the subgraph | |
| run: pnpm run build:linea-sepolia | |
| - name: Run the unit tests | |
| run: pnpm run test | |
| - name: Add test summary | |
| run: | | |
| echo "## Unit tests result" >> $GITHUB_STEP_SUMMARY | |
| echo "✅ Passed" >> $GITHUB_STEP_SUMMARY |