release: prepare v2.1.7 beta (qimen/sanshi true-solar-time chart fix) #36
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: | |
| jobs: | |
| frontend-test-build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: local/workspace/Horosa-Web-55c75c5b088252fbd718afeffa6d5bcb59254a0c/astrostudyui | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: local/workspace/Horosa-Web-55c75c5b088252fbd718afeffa6d5bcb59254a0c/astrostudyui/package-lock.json | |
| - name: Install frontend dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Run AIAnalysis frontend tests | |
| run: npm test -- --runInBand src/utils/__tests__/aiAnalysisContext.test.js src/utils/__tests__/aiAnalysisRetrieval.test.js src/utils/__tests__/aiAnalysisStore.test.js src/utils/__tests__/aiProviderAdapters.test.js | |
| - name: Build frontend file bundle | |
| run: npm run build:file | |
| desktop-renderer-check: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Enable Git long paths | |
| run: git config --system core.longpaths true | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: | | |
| local/workspace/Horosa-Web-55c75c5b088252fbd718afeffa6d5bcb59254a0c/astrostudyui/package-lock.json | |
| desktop_installer_bundle/package-lock.json | |
| - name: Install frontend dependencies | |
| working-directory: local/workspace/Horosa-Web-55c75c5b088252fbd718afeffa6d5bcb59254a0c/astrostudyui | |
| run: npm ci --legacy-peer-deps | |
| - name: Install desktop bundle dependencies | |
| working-directory: desktop_installer_bundle | |
| run: npm ci | |
| - name: Build shared renderer for desktop | |
| working-directory: desktop_installer_bundle | |
| run: npm run build:renderer |