From 1bde24013a176e89bccec42268531bbc608fb9a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 19:38:06 +0200 Subject: [PATCH] chore(ci): add keycloakify dev tests and bump @types/react from 18.3.1 to 18.3.2 in /keycloak/keycloakify in the minorandpatch group (#1871) * chore(deps-dev): bump @types/react Bumps the minorandpatch group in /keycloak/keycloakify with 1 update: [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react). Updates `@types/react` from 18.3.1 to 18.3.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minorandpatch ... Signed-off-by: dependabot[bot] --------- Signed-off-by: dependabot[bot] Co-authored-by: Cornelius Roemer Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/keycloakify-test.yml | 49 ++++++++++++++++++++++++++ keycloak/keycloakify/package.json | 2 +- keycloak/keycloakify/yarn.lock | 14 ++++++-- 3 files changed, 62 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/keycloakify-test.yml mode change 100755 => 100644 keycloak/keycloakify/package.json diff --git a/.github/workflows/keycloakify-test.yml b/.github/workflows/keycloakify-test.yml new file mode 100644 index 0000000000..87775f3926 --- /dev/null +++ b/.github/workflows/keycloakify-test.yml @@ -0,0 +1,49 @@ +name: keycloakify-test + +on: + workflow_dispatch: + pull_request: + paths: + - "keycloak/keycloakify/**" + - ".github/workflows/keycloakify-test.yml" + push: + branches: + - main + +concurrency: + group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-keycloak-test + cancel-in-progress: true + +jobs: + keycloakify-test: + name: Test keycloakify local builds + runs-on: ubuntu-latest + timeout-minutes: 30 + defaults: + run: + working-directory: keycloak/keycloakify + steps: + - uses: actions/checkout@v4 + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version-file: keycloak/keycloakify/.nvmrc + - run: | + corepack enable && + corepack install # use the in-repo yarn version + - name: Setup Yarn in Node + uses: actions/setup-node@v4 + with: + node-version-file: keycloak/keycloakify/.nvmrc + cache-dependency-path: keycloak/keycloakify/yarn.lock + cache: "yarn" # uses the system node, which was updated prior. + - name: Install dependencies + run: yarn install --immutable + - name: Build + run: yarn build + - name: Build storybook + run: yarn build-storybook + - name: Build keycloak theme + run: yarn build-keycloak-theme diff --git a/keycloak/keycloakify/package.json b/keycloak/keycloakify/package.json old mode 100755 new mode 100644 index cfe98acdea..17cb35fc52 --- a/keycloak/keycloakify/package.json +++ b/keycloak/keycloakify/package.json @@ -38,7 +38,7 @@ "@storybook/react": "^8.0.2", "@storybook/react-vite": "^8.0.2", "@storybook/test": "^8.0.2", - "@types/react": "^18.3.1", + "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", diff --git a/keycloak/keycloakify/yarn.lock b/keycloak/keycloakify/yarn.lock index 27b5023de8..a47107abf8 100644 --- a/keycloak/keycloakify/yarn.lock +++ b/keycloak/keycloakify/yarn.lock @@ -3356,7 +3356,7 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:^16.8.0 || ^17.0.0 || ^18.0.0, @types/react@npm:^18.3.1": +"@types/react@npm:*, @types/react@npm:^16.8.0 || ^17.0.0 || ^18.0.0": version: 18.3.1 resolution: "@types/react@npm:18.3.1" dependencies: @@ -3366,6 +3366,16 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:^18.3.2": + version: 18.3.2 + resolution: "@types/react@npm:18.3.2" + dependencies: + "@types/prop-types": "npm:*" + csstype: "npm:^3.0.2" + checksum: 10c0/9fb2f1fcf7e889ee4ea7c3c5978df595c66e770e5fd3a245dbdd2589b9b911524c11dab25a6275d8af4e336e4cb5fa850d447884b84c335a187a338c89df99ba + languageName: node + linkType: hard + "@types/resolve@npm:^1.20.2": version: 1.20.6 resolution: "@types/resolve@npm:1.20.6" @@ -7150,7 +7160,7 @@ __metadata: "@storybook/react": "npm:^8.0.2" "@storybook/react-vite": "npm:^8.0.2" "@storybook/test": "npm:^8.0.2" - "@types/react": "npm:^18.3.1" + "@types/react": "npm:^18.3.2" "@types/react-dom": "npm:^18.3.0" "@typescript-eslint/eslint-plugin": "npm:^6.14.0" "@typescript-eslint/parser": "npm:^6.14.0"