fix: Update frontend tests to support Node.js 22.x (#5444)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Graham Neubig
2024-12-06 22:58:27 -05:00
committed by GitHub
parent c757d7c613
commit a241b9ff98
2 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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,
],
};