Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# we skip each step individually, so they are still reported as success
# because many of them are required for CI checks to be green
changes:
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2204
timeout-minutes: 5
name: Determine need to run frontend checks
outputs:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
name: Code quality checks
needs: changes
# kea typegen and typescript:check need some more oomph
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2204
steps:
# we need at least one thing to run to make sure we include everything for required jobs
- uses: actions/checkout@v3
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Set up Node.js
if: needs.changes.outputs.frontend == 'true'
uses: actions/setup-node@v3
uses: useblacksmith/setup-node@v5
with:
node-version: 18.12.1

Expand All @@ -74,7 +74,7 @@ jobs:
id: pnpm-cache-dir
run: echo "PNPM_STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT

- uses: actions/cache@v4
- uses: useblacksmith/cache@v5
if: needs.changes.outputs.frontend == 'true'
id: pnpm-cache
with:
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
minimum-change-threshold: 1000

jest:
runs-on: ubuntu-latest
runs-on: blacksmith-2vcpu-ubuntu-2204
needs: changes
name: Jest test (${{ matrix.segment }} - ${{ matrix.chunk }})

Expand All @@ -148,7 +148,7 @@ jobs:

- name: Set up Node.js
if: needs.changes.outputs.frontend == 'true'
uses: actions/setup-node@v3
uses: useblacksmith/setup-node@v5
with:
node-version: 18.12.1
cache: pnpm
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lib/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export function getGraphColors(isDarkModeOn: boolean): Record<string, string | n
* @param strength The strength of the data point.
* @param floor The minimum saturation. This preserves proportionality of strength, so doesn't just cut it off.
*/
// touch
export function gradateColor(
hsl: [number, number, number],
strength: number,
Expand Down