chore: release v1.0.1 — bind gateway to 0.0.0.0 by default #31
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 | |
| # When to run: on every push to main and on every pull request. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Get your code onto the runner. | |
| # Actions are pinned to a full commit SHA (org policy); comment tracks the version. | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| # 2. Install Node 20 and cache npm downloads for faster runs. | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| # 3. Install dependencies from the lockfile (clean, reproducible). | |
| - run: npm ci | |
| # 4. The same checks you run locally — if any fail, the build goes red. | |
| - run: npm run typecheck | |
| - run: npm run typecheck:node | |
| - run: npm test | |
| - run: npx prettier --check "src/**/*.{ts,tsx}" "gateway/**/*.ts" |