Skip to content

Commit 46e03ec

Browse files
committed
swinging wildly in the dark
1 parent 63df25c commit 46e03ec

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ jobs:
6565
working-directory: ./frontend
6666
- name: Verify generated types are up-to-date
6767
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
7170
./generate_types.sh
7271
# Check if any files were modified
7372
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:
9190
with:
9291
environment-file: environment-dev.yml
9392
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
98+
run: npm ci
99+
working-directory: ./frontend
94100
- name: Run linter
95101
run: |
96102
pre-commit install

environment-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919
- google-cloud-storage=2.5.0
2020
- isort=5.10.1
2121
- mypy=0.942
22-
- nodejs=18.11.0
22+
- nodejs=20
2323
- openjdk=11
2424
- openssl=3.0.5
2525
- pillow=9.0.1

0 commit comments

Comments
 (0)