Skip to content

Commit

Permalink
fix: Update frontend tests to support Node.js 22.x (#5444)
Browse files Browse the repository at this point in the history
Co-authored-by: openhands <[email protected]>
  • Loading branch information
neubig and openhands-agent authored Dec 7, 2024
1 parent c757d7c commit a241b9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/fe-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
node-version: [20, 22]
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/** @type {import('tailwindcss').Config} */
const { nextui } = require("@nextui-org/react");
import { nextui } from "@nextui-org/react";
import typography from '@tailwindcss/typography';

export default {
content: [
"./src/**/*.{js,ts,jsx,tsx}",
Expand Down Expand Up @@ -33,6 +35,6 @@ export default {
}
}
}),
require('@tailwindcss/typography'),
typography,
],
};

0 comments on commit a241b9f

Please sign in to comment.