Repository navigation
fix: Hono Node 서버 보안 패치 적용 #828
Workflow file for this run
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: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - 'README.md' | |
| - 'scripts/ops/README.md' | |
| - 'assets/analytics/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| select-runner: | |
| uses: ./.github/workflows/select-local-runner.yml | |
| with: | |
| cloud-runner: ubuntu-latest | |
| # 운영 중계와 전체 테스트의 CPU·메모리를 분리합니다. | |
| force-cloud: true | |
| secrets: | |
| status-token: ${{ secrets.LOCAL_RUNNER_STATUS_TOKEN }} | |
| validate: | |
| needs: select-runner | |
| runs-on: ${{ fromJSON(needs.select-runner.outputs.runner) }} | |
| name: Validate | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '24' | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Prettier check | |
| run: npm run format:check | |
| - name: ESLint | |
| run: npm run lint | |
| - name: Type check | |
| run: npm run typecheck | |
| - name: Source file line limit | |
| run: npm run check:source-lines | |
| - name: Unit tests | |
| run: npm test | |
| - name: Build | |
| run: npm run build | |
| select-native-runner: | |
| uses: ./.github/workflows/select-local-runner.yml | |
| with: | |
| cloud-runner: macos-latest | |
| # 브라우저 실험·운영 중계와 분리하되 실제 macOS에서 검증합니다. | |
| force-cloud: true | |
| secrets: | |
| status-token: ${{ secrets.LOCAL_RUNNER_STATUS_TOKEN }} | |
| validate-native: | |
| needs: select-native-runner | |
| runs-on: ${{ fromJSON(needs.select-native-runner.outputs.runner) }} | |
| name: Native Mac helpers | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: '24' | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Native helper regression tests | |
| run: npm test -- tests/scripts/hide-readiness.test.ts tests/scripts/macos-ops.test.ts --maxWorkers=1 |