You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -65,9 +65,8 @@ jobs:
65
65
working-directory: ./frontend
66
66
- name: Verify generated types are up-to-date
67
67
run: |
68
-
# Verify conda environment is activated
69
-
conda info --envs
70
-
# Run the type generation script
68
+
# Activate conda environment and run the type generation script
69
+
conda activate galaxy
71
70
./generate_types.sh
72
71
# Check if any files were modified
73
72
git diff --exit-code src/api/_autogen/ || (echo "ERROR: Generated TypeScript types are out of date. Please run ./generate_types.sh and commit the changes." && exit 1)
@@ -91,6 +90,13 @@ jobs:
91
90
with:
92
91
environment-file: environment-dev.yml
93
92
use-only-tar-bz2: true
93
+
- name: Set up NodeJS environment
94
+
uses: actions/setup-node@v3
95
+
with:
96
+
node-version: '20.12.2'
97
+
- name: Install frontend dependencies for pre-commit
0 commit comments