mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
## Summary - Upgrade Next.js from 16.1.6 to 16.2.3 - Add `suppressHydrationWarning` to `<html>` tag to fix `next-themes` hydration mismatch - Remove unnecessary `isClient` guard in `ThemeProvider` that caused script tag warning - Redirect unauthenticated `/roadmap` visitors to `/login` instead of `/` ## Test plan - [ ] Verify `/roadmap` redirects to `/login` when not logged in - [ ] Verify `/roadmap` loads correctly when logged in as team member - [ ] Verify no hydration warnings in browser console - [ ] Verify dark/light theme switching still works
32 lines
699 B
YAML
32 lines
699 B
YAML
name: Publish to PyPI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./cli
|
|
|
|
jobs:
|
|
build-and-publish:
|
|
if: false # TODO: enable this when ready
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install build
|
|
- name: Build
|
|
run: python -m build
|
|
- name: Publish
|
|
uses: pypa/gh-action-pypi-publish@master
|
|
with:
|
|
user: __token__
|
|
password: ${{ secrets.PYPI_PASSWORD }}
|