Skip to content

Commit

Permalink
fix ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Mar 2, 2024
1 parent 4a45ea0 commit a6794ad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/backend.yml
Expand Up @@ -10,6 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version: [20.x]
pnpm-version: [8]
redis-version: [latest]
python-version: ["3.9", "3.10", "3.11"]
os: [ubuntu-latest]
Expand All @@ -32,6 +33,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: ${{ matrix.pnpm-version }}

- name: Start Redis
uses: supercharge/redis-github-action@1.7.0
with:
Expand All @@ -44,12 +50,12 @@ jobs:
echo "HYPERGLASS_HOST=127.0.0.1" >> $GITHUB_ENV
echo "HYPERGLASS_PORT=8001" >> $GITHUB_ENV
- name: Install
run: rye install && rye sync

- name: Enter venv
run: . .venv/bin/activate

- name: Install
run: rye install

- name: Lint (Rye)
run: rye lint

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/frontend.yml
Expand Up @@ -24,7 +24,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v3
- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: ${{ matrix.pnpm-version }}

Expand Down
3 changes: 1 addition & 2 deletions hyperglass/ui/tsconfig.json
Expand Up @@ -40,7 +40,6 @@
"**/*.tsx",
"types/*.d.ts",
"next.config.js",
"nextdev.js",
"hyperglass.json"
"nextdev.js"
]
}

0 comments on commit a6794ad

Please sign in to comment.