Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content
Commits on Source (8)
stages:
- test
- build
- deploy
- post message to merge request
- release
cache:
......@@ -16,80 +12,6 @@ variables:
before_script:
- npm install
# Define the job for running Playwright tests
run_playwright_tests:
tags: [opencode-high]
stage: test
image: mcr.microsoft.com/playwright:v1.48.0-noble
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
script:
- npm ci # Install project dependencies
- npm run build # Build Storybook and files
- npm run storybook & npx wait-on http://localhost:6006 # Start Storybook and wait for it to be ready
- UPSTREAM_STORYBOOK_URL=$UPSTREAM_STORYBOOK_URL npx playwright test # Run your Playwright tests
- REPORT_URL="https://kern-ux.usercontent.opencode.de/-/kern-ux-plain/-/jobs/$CI_JOB_ID/artifacts/playwright-report/index.html"
- echo $REPORT_URL # Print the URL to view the results
after_script: # Save the job ID and status to a file
- echo "JOB_ID=$CI_JOB_ID" >> job.env
- echo "CI_JOB_STATUS=$CI_JOB_STATUS" >> job.env
allow_failure: true
artifacts:
expose_as: "Test Report"
when: always
paths:
- playwright-report
expire_in: 2 weeks
reports:
dotenv: job.env
build-storybook:image:
image: node:lts
stage: build
only:
- main
script:
- npm run build
artifacts:
paths:
- storybook-static
pages:
image: node:lts
stage: deploy
script:
- mv storybook-static public
artifacts:
paths:
- public
only:
- main
post_message_to_mr:
stage: post message to merge request
image: node:lts
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: never
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: on_success
script:
- REPORT_URL="https://kern-ux.usercontent.opencode.de/-/kern-ux-plain/-/jobs/$JOB_ID/artifacts/playwright-report/index.html"
- echo $REPORT_URL # Print the URL to view the results
- echo "CI_MERGE_REQUEST_IID = $CI_MERGE_REQUEST_IID"
- |
if [ -n "$CI_MERGE_REQUEST_IID" ]; then
if [ "$CI_JOB_STATUS" == "success" ]; then
MESSAGE="All tests passed! 🎉 Playwright Test Report: $REPORT_URL"
else
MESSAGE="Some tests failed! ❌ Please check the report: $REPORT_URL"
fi
curl --request POST --header "PRIVATE-TOKEN: $CI_JOB_TOKEN" \
--header "Content-Type: application/json" \
--data "{\"body\": \"$MESSAGE\"}" \
"$CI_API_V4_URL/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/notes"
fi
release:
stage: release
image: node:lts
......
......@@ -3,13 +3,12 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/gitlab",
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
"assets": ["package.json", "package-lock.json"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
......
## [1.0.1](https://gitlab.opencode.de/kern-ux/kern-ux-plain/compare/v1.0.0...v1.0.1) (2024-11-28)
### Bug Fixes
* bump version for new patch release ([63d0160](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/63d01609009bd28586e1aef6c842d12829818264))
# 1.0.0 (2024-11-27)
### Bug Fixes
* add changelog package ([4917fca](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/4917fcaa53dc7ada87e4118117acfbba894c9dea))
* add error class for inpuct chackboxes ([d15f521](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/d15f521fbe3cd0eee17475d6f01dc80e6794ed39))
* add error class for input radio ([e35fa42](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/e35fa42ee153b8908ab71148c95eb50fc5343313))
* add error classes for all inputs ([8e38061](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/8e380612ae2c1803ae5401065dcad77bec04c478))
* add error classes for select ([503227f](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/503227f8290faca897a324271f0216a9cb9a098b))
* add packages and change branch name ([58ed842](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/58ed84299fe12ec0c3cbe5c7df8793ece8ccad1a))
* refactor style add mixin for hint text ([68642b3](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/68642b373856f080749261957a817ad2ecc50813))
* rename layers to be uniquie ([577d471](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/577d471ded15b58e695cb058292fa244ef168787))
* single checkbox with error style ([327c9f6](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/327c9f6790472cf49b69a0309604e99006daf9d5))
* test commit ([b14b82e](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/b14b82ed2ba567b6e71d9d7d0c3ca03f8c30f8cc))
* update style for error and disabled, update stories for tests ([61afd18](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/61afd1823a5c24019e080982c05654d09efbd6d4))
* update style for error inputs border ([1dae14d](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/1dae14d23814e2afd1df41e2a3882db62240b86c))
* updatel fieldset contet classes for inputs ([23c570d](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/23c570d73b006cb62bb6525d35d7bba3b61be9ae))
### Features
* add checkbox component ([c0684e7](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/c0684e799681b8837292976da4970422e9d2dafc))
* add horizontal content view to fieldset component ([c685b0e](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/c685b0ea3134db6adb3010720ae524e988753b64))
* add radio component ([f414ed1](https://gitlab.opencode.de/kern-ux/kern-ux-plain/commit/f414ed1e9a9eaa15e203d13287244e4547e43f4d))
# 🚀 KERN-UX Design System
**Lass uns gemeinsam den UX-Standard für die deutsche Verwaltung schaffen!** Wir arbeiten daran, einen digitalen, zugänglichen und benutzerfreundlichen Staat zu gestalten, der barrierefrei ♿, transparent 🔍 und intuitiv nutzbar für alle Bürger:innen, Institutionen und Unternehmen im Land ist.
## 🌍 Unsere Mission
......
{
"name": "@kern-ux/native",
"version": "1.0.1",
"name": "tom-native",
"version": "1.0.2-rc.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@kern-ux/native",
"version": "1.0.1",
"name": "tom-native",
"version": "1.0.2-rc.1",
"license": "EUPL-1.2",
"dependencies": {
"dotenv": "^16.4.5"
......
{
"name": "@kern-ux/native",
"version": "1.0.1",
"name": "tom-native",
"version": "1.0.2-rc.1",
"description": "Das Native Package beinhaltet alle zur Komponenten-Bibliothek gehörenden Styles.",
"author": "Kern-UX",
"license": "EUPL-1.2",
"repository": {
"type": "git",
"url": "https://gitlab.opencode.de/kern-ux/kern-ux-plain"
"url": "https://gitlab.opencode.de/marienfeldtom/kern-ux-plain"
},
"contributors": [
"Tom Marienfeld <tom.marienfeld@dataport.de>",
......