From 3c04da192c74ac46574e52de27b069acfca7464c Mon Sep 17 00:00:00 2001 From: scanash00 Date: Sat, 30 Aug 2025 00:47:10 -0800 Subject: [PATCH] fix: if this doesn't work i give up --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pr.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4a6951..dac71da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,10 @@ jobs: run: bun run build - name: Lint code - run: bunx eslint ./src ./web/src --ext .ts,.tsx + run: node -r ./global-polyfill.js ./node_modules/.bin/eslint ./src ./web/src --ext .ts,.tsx - name: Format check - run: bunx prettier --check "**/*.{js,json,md,ts,tsx}" --ignore-path .prettierignore + run: node -r ./global-polyfill.js ./node_modules/.bin/prettier --check "**/*.{js,json,md,ts,tsx}" --ignore-path .prettierignore frontend: name: Frontend Build & Test diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 164b56a..58cac6f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -47,10 +47,10 @@ jobs: bun run build - name: Run backend linting - run: bunx eslint ./src ./web/src --ext .ts,.tsx + run: bunx --bun eslint ./src ./web/src --ext .ts,.tsx - name: Check code formatting - run: bunx prettier --check "**/*.{js,json,md,ts,tsx}" --ignore-path .prettierignore + run: bunx --bun prettier --check "**/*.{js,json,md,ts,tsx}" --ignore-path .prettierignore - name: Validate PR title uses: amannn/action-semantic-pull-request@v5 -- 2.51.2