Skip to content

Commit

Permalink
double package update
Browse files Browse the repository at this point in the history
  • Loading branch information
m2a2x committed Jan 26, 2025
1 parent 3b034d1 commit b8a84b8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b8a84b8

Please sign in to comment.