Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,24 @@ jobs:
fi
echo "skip=${skip}" >> $GITHUB_OUTPUT
echo "skip=${skip}"
unit-tests:
name: Unit tests
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test --if-present
lint:
name: Lint
runs-on: ubuntu-latest
Expand Down Expand Up @@ -142,7 +160,7 @@ jobs:
with:
node-version: 22.x
- name: Run integration tests
uses: cypress-io/github-action@v6
uses: cypress-io/github-action@c541a95ea92d9239347a2355f2e895cd4b3f8060 # v7.4.6
with:
install-command: npm ci
build: npm run build
Expand Down
8 changes: 4 additions & 4 deletions apps/ocp-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@
"style-loader": "^3.3.3",
"svg-url-loader": "^8.0.0",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.6.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"ts-loader": "^9.4.4",
"url-loader": "^4.1.1",
"webpack": "^5.105.4",
"webpack-dev-server": "^5.2.3"
"webpack-dev-server": "^6.1.0"
},
"dependencies": {
"@openshift-console/dynamic-plugin-sdk": "4.19.1",
Expand All @@ -80,9 +80,9 @@
"@patternfly/react-code-editor": "^6.4.0",
"@patternfly/react-core": "^6.4.0",
"@patternfly/react-icons": "^6.4.0",
"@patternfly/react-log-viewer": "^6.3.0",
"@patternfly/react-styles": "^6.4.0",
"@patternfly/react-table": "^6.4.0",
"@patternfly/react-log-viewer": "^6.3.0",
"@types/react-redux": "^7.1.33",
"formik": "^2.4.9",
"i18next": "^21.8.14",
Expand All @@ -93,7 +93,7 @@
"react-i18next": "^11.7.3",
"react-redux": "7.2.2",
"react-router-dom": "^5.3.x",
"react-router-dom-v5-compat": "6.30.3",
"react-router-dom-v5-compat": "6.30.6",
"yup": "^1.3.3"
}
}
1 change: 0 additions & 1 deletion apps/ocp-plugin/src/components/AppContext/AppContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
useParams,
useSearchParams,
} from 'react-router-dom-v5-compat';
// @ts-expect-error Provided by the OCP console in the runtime environment.
import { Prompt } from 'react-router-dom';
import { getUser } from '@openshift-console/dynamic-plugin-sdk/lib/app/core/reducers';
import { useSelector } from 'react-redux';
Expand Down
10 changes: 5 additions & 5 deletions apps/standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,31 @@
"style-loader": "^3.3.3",
"svg-url-loader": "^8.0.0",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.4.4",
"ts-loader": "^9.6.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"url-loader": "^4.1.1",
"webpack": "^5.105.4",
"webpack-dev-server": "^5.2.3"
"webpack-dev-server": "^6.1.0"
},
"dependencies": {
"@patternfly/patternfly": "^6.4.0",
"@patternfly/react-charts": "^8.4.0",
"@patternfly/react-code-editor": "^6.4.0",
"@patternfly/react-core": "^6.4.0",
"@patternfly/react-icons": "^6.4.0",
"@patternfly/react-log-viewer": "^6.3.0",
"@patternfly/react-styles": "^6.4.0",
"@patternfly/react-table": "^6.4.0",
"@patternfly/react-log-viewer": "^6.3.0",
"formik": "^2.4.5",
"i18next": "^21.8.14",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "^2.5.0",
"i18next-http-backend": "^4.0.10",
"js-yaml": "^4.1.1",
"monaco-editor": "^0.51.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-i18next": "^11.7.3",
"react-router-dom": "^6.30.3",
"react-router-dom": "^6.30.6",
"yup": "^1.3.3"
}
}
2 changes: 1 addition & 1 deletion libs/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"integration-tests:ci": "npm run -w @flightctl/standalone start-prod"
},
"devDependencies": {
"cypress": "^15.10.0"
"cypress": "^16.3.0"
}
}
10 changes: 5 additions & 5 deletions libs/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@types/file-saver": "^2.0.5",
"@types/react-dom": "^18.2.17",
"@types/semver": "^7.5.2",
"react-router": "6.30.3",
"react-router-dom": "6.30.3"
"react-router": "6.30.6",
"react-router-dom": "6.30.6"
},
"dependencies": {
"@rjsf/core": "5.24.13",
Expand All @@ -53,15 +53,15 @@
"@patternfly/react-code-editor": "^6.4.0",
"@patternfly/react-core": "^6.4.0",
"@patternfly/react-icons": "^6.4.0",
"@patternfly/react-log-viewer": "^6.3.0",
"@patternfly/react-styles": "^6.4.0",
"@patternfly/react-table": "^6.4.0",
"@patternfly/react-log-viewer": "^6.3.0",
"i18next": "21.8.14 - 23.x",
"monaco-editor": "^0.51.0",
"react": "17.0.1 - 18.x",
"react-dom": "17.0.1 - 18.x",
"react-i18next": "11.7.3 - 15.x",
"react-router-dom": "^5.3 || ^6.30.3",
"react-i18next": "11.18.6",
"react-router-dom": "^5.3 || ^6.30.6",
"victory": "^37.3.6"
}
}
Loading
Loading