chore(tools): Adds tool for showing the storage diff between 2 blocks #130
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: Verify Compilation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| - name: Verify package-lock.json exists | |
| run: | | |
| if [ ! -f "package-lock.json" ]; then | |
| echo "ERROR: package-lock.json not found!" | |
| exit 1 | |
| fi | |
| echo "package-lock.json found ✓" | |
| - name: Install dependencies | |
| timeout-minutes: 10 | |
| run: | | |
| echo "Node version: $(node --version)" | |
| echo "NPM version: $(npm --version)" | |
| echo "NPM cache directory: $(npm config get cache)" | |
| echo "Starting npm ci (clean install from package-lock.json)..." | |
| npm ci --no-audit | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Verify TypeScript compilation | |
| run: bun run build | |
| - name: Run tests | |
| run: bun run test |