Skip to content

Fix/bedrock streaming timeouts #515

Fix/bedrock streaming timeouts

Fix/bedrock streaming timeouts #515

Workflow file for this run

name: Build
on:
pull_request:
branches: ['**']
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
NODE_OPTIONS: '--max-old-space-size=8192' # メモリ制限を8GBに設定
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npm run typecheck
- name: Run unit tests
run: npm test -- --coverage
- name: Build app
run: npm run build:${{ matrix.os == 'windows-latest' && 'win' || 'mac' }}