Skip to content

build(deps): bump react and @types/react in /generators/react/resources #32281

build(deps): bump react and @types/react in /generators/react/resources

build(deps): bump react and @types/react in /generators/react/resources #32281

Workflow file for this run

#
# Copyright the original author or authors from the JHipster project.
#
# This file is part of the JHipster project, see https://www.jhipster.tech/
# for more information.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Generators
concurrency:
# Group PRs by head_ref, push to main branch by commit id, and others branch by ref.
group: ${{ github.workflow }}-${{ github.head_ref || (github.ref == 'refs/heads/main' && github.sha) || github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'main'
- '**maintenance'
pull_request:
types: [closed, opened, synchronize, reopened]
permissions:
contents: read
env:
FORCE_COLOR: 2
jobs:
build-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.build.outputs.matrix }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 2
- run: echo "node-version=$(cat ${{ github.workspace }}/generators/init/resources/.node-version)" >> $GITHUB_OUTPUT
id: node-version
- uses: actions/setup-node@v6
with:
node-version: ${{ steps.node-version.outputs.node-version }}
- run: npm ci --ignore-scripts
- id: build
run: bin/jhipster.cjs github-build-matrix generators --event-name ${{ github.event_name }}
generate-blueprint:
permissions:
contents: none
uses: ./.github/workflows/generator-generate-blueprint.yml
needs: build-matrix
if: ${{ !fromJson(needs.build-matrix.outputs.matrix).generate-blueprint.disabled }}
database-changelog-liquibase:
permissions:
contents: none
uses: ./.github/workflows/generator-database-changelog-liquibase.yml
needs: build-matrix
if: ${{ !fromJson(needs.build-matrix.outputs.matrix).database-changelog.disabled }}
graalvm:
permissions:
contents: none
uses: ./.github/workflows/generator-graalvm.yml
needs: build-matrix
if: ${{ !fromJson(needs.build-matrix.outputs.matrix).graalvm.disabled }}
check-generators:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [generate-blueprint, database-changelog-liquibase, graalvm]
if: always()
steps:
- run: |
echo '${{ toJSON(needs) }}'
if ([ 'skipped' == '${{ needs.generate-blueprint.result }}' ] || [ 'success' == '${{ needs.generate-blueprint.result }}' ]) && \
([ 'skipped' == '${{ needs.graalvm.result }}' ] || [ 'success' == '${{ needs.graalvm.result }}' ]) && \
([ 'skipped' == '${{ needs.database-changelog-liquibase.result }}' ] || [ 'success' == '${{ needs.database-changelog-liquibase.result }}' ]); then
exit 0
fi
if [ 'closed' == '${{ github.event.action }}' ]; then
exit 0
fi
exit 1