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