Fix Tokenometer canonical URLs #161
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: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| registry-url: 'https://registry.npmjs.org/' | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run typecheck | |
| - run: npm run build | |
| - run: npm run build -w @tokenometer/web | |
| - run: npm run build -w @tokenometer/action | |
| - run: npm test | |
| - run: npm run benchmarks | |
| - name: Verify action bundle is in sync | |
| run: git diff --exit-code packages/action/dist || (echo 'packages/action/dist/index.cjs is out of sync. Run `npm run build -w @tokenometer/action` and commit.' && exit 1) |