mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-08 22:38:05 -05:00
fix: Update frontend tests to support Node.js 22.x (#5444)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
3
.github/workflows/fe-unit-tests.yml
vendored
3
.github/workflows/fe-unit-tests.yml
vendored
@@ -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
|
||||
|
||||
@@ -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}",
|
||||
@@ -33,6 +35,6 @@ export default {
|
||||
}
|
||||
}
|
||||
}),
|
||||
require('@tailwindcss/typography'),
|
||||
typography,
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user