diff --git a/.github/workflows/publishComponents.yml b/.github/workflows/publishComponents.yml index 4b50737883..58edea1ad4 100644 --- a/.github/workflows/publishComponents.yml +++ b/.github/workflows/publishComponents.yml @@ -4,11 +4,11 @@ on: push: branches: [ 'develop-webpack' ] paths: - # - 'webpack/svg-components/**' + - 'webpack/react-components/**' + - 'webpack/svg-components/**' - 'webpack/ui-components/**' - # - 'webpack/react-components/**' - # - 'webpack/libraries/**' - # - 'react/modules/core/**' + - 'webpack/libraries/**' + - 'react/modules/core/**' jobs: setup-python-and-build-tools: @@ -39,56 +39,74 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.npm_token }} - # publish-webpack-svg-components: - # name: Publish Webpack SVG Components - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v2 - # - uses: actions/setup-node@v2 - # with: - # node-version: 20 - # registry-url: https://registry.npmjs.org/ - # - name: Install dependencies for Webpack UI Components - # run: | - # cd webpack/svg-components/ - # rm -rf node_modules yarn.lock - # yarn install --frozen-lockfile - # npm publish --tag core-webpack-v0.1 - # env: - # NODE_AUTH_TOKEN: ${{ secrets.npm_token }} + publish-webpack-react-components: + name: Publish Webpack React Components + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Install dependencies for Webpack React Components + run: | + cd webpack/react-components/ + rm -rf node_modules yarn.lock + yarn install --frozen-lockfile + npm publish --tag core-webpack-v0.1 + env: + NODE_AUTH_TOKEN: ${{ secrets.npm_token }} - # publish-react-module-libraries: - # name: Publish React Module Libraries - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v2 - # - uses: actions/setup-node@v2 - # with: - # node-version: 20 - # registry-url: https://registry.npmjs.org/ - # - name: Install dependencies for React Libraries - # run: | - # cd webpack/libraries/ - # rm -rf node_modules yarn.lock - # yarn install --frozen-lockfile - # npm publish --tag libraries-v0.1 - # env: - # NODE_AUTH_TOKEN: ${{ secrets.npm_token }} + publish-webpack-svg-components: + name: Publish Webpack SVG Components + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Install dependencies for Webpack SVG Components + run: | + cd webpack/svg-components/ + rm -rf node_modules yarn.lock + yarn install --frozen-lockfile + npm publish --tag core-webpack-v0.1 + env: + NODE_AUTH_TOKEN: ${{ secrets.npm_token }} - # publish-react-module-core: - # name: Publish React Module Core - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v2 - # - uses: actions/setup-node@v2 - # with: - # node-version: 20 - # registry-url: https://registry.npmjs.org/ - # - name: Install dependencies for React Core - # run: | - # cd react/modules/core/ - # rm -rf node_modules yarn.lock - # yarn install --frozen-lockfile - # npm publish --tag core-module-v0.1 - # env: - # NODE_AUTH_TOKEN: ${{ secrets.npm_token }} + publish-react-module-libraries: + name: Publish React Module Libraries + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Install dependencies for React Libraries + run: | + cd webpack/libraries/ + rm -rf node_modules yarn.lock + yarn install --frozen-lockfile + npm publish --tag libraries-v0.1 + env: + NODE_AUTH_TOKEN: ${{ secrets.npm_token }} + + publish-react-module-core: + name: Publish React Module Core + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - name: Install dependencies for React Core + run: | + cd react/modules/core/ + rm -rf node_modules yarn.lock + yarn install --frozen-lockfile + npm publish --tag core-module-v0.1 + env: + NODE_AUTH_TOKEN: ${{ secrets.npm_token }} diff --git a/webpack/react-components/package.json b/webpack/react-components/package.json index 6f38c0b0d2..650bf8a4fa 100644 --- a/webpack/react-components/package.json +++ b/webpack/react-components/package.json @@ -62,7 +62,7 @@ "json-schema-to-yup": "1.8.8", "react-date-range": "2.0.1", "react-drag-drop-files": "2.3.10", - "react-hook-form": "7.52.2", + "react-hook-form": "6.15.8", "react-i18next": "15.0.0", "react-table": "7.7.0", "react-joyride": "2.5.5",