diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1696690c..fe1a3876 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,3 +43,25 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} npm_token: ${{ secrets.NPM_TOKEN }} + publish-secondary-name: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + repository: revolist/revogrid-actions + ref: main + path: ./actions + token: ${{ secrets.REPO_TOKEN }} + + - name: Update package.json for secondary name + run: | + sed -i 's/"name": "@revolist\/react-datagrid"/"name": "@revolist\/revogrid-react"/' package.json + shell: bash + + - name: Publish secondary package + uses: ./actions/publish-pkg + with: + token: ${{ secrets.GITHUB_TOKEN }} + npm_token: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 8e08910d..5ca579cb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@revolist/react-datagrid", "sideEffects": false, - "version": "4.11.18", + "version": "4.11.19", "description": "React DataGrid Spreadsheet component with native cell render support", "main": "./dist/react-datagrid.umd.cjs", "module": "./dist/react-datagrid.js",