File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish GrapesJS React rc
2+ on :
3+ push :
4+ branches : [main]
5+
6+ jobs :
7+ publish :
8+ if : " contains(github.event.head_commit.message, 'Release GrapesJS React rc:')"
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v4
13+ - name : Setup project
14+ uses : ./.github/actions/setup-project
15+ - name : Build
16+ run : yarn build:core
17+ - name : Publish to npm
18+ env :
19+ NODE_AUTH_TOKEN : ${{ secrets.ORG_NPM_TOKEN }}
20+ run : |
21+ echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
22+ yarn publish:core:rc
Original file line number Diff line number Diff line change 1313 "build:app-18" : " yarn workspace @grapesjs/react-app-18 run build" ,
1414 "build:app-19" : " yarn workspace @grapesjs/react-app-19 run build" ,
1515 "release:core:latest" : " ts-node scripts/releaseCore latest" ,
16- "publish:core:latest" : " cd packages/grapesjs-react && npm publish --access public"
16+ "release:core:rc" : " ts-node scripts/releaseCore rc" ,
17+ "publish:core:latest" : " cd packages/grapesjs-react && npm publish --access public" ,
18+ "publish:core:rc" : " cd packages/grapesjs-react && npm publish --tag rc --access public"
1719 },
1820 "workspaces" : {
1921 "packages" : [
You can’t perform that action at this time.
0 commit comments