Skip to content

docs: remove mailto from header version #17

docs: remove mailto from header version

docs: remove mailto from header version #17

name: Publish GrapesJS React latest
on:
push:
branches: [main]
jobs:
publish:
if: "contains(github.event.head_commit.message, 'Release GrapesJS React latest:')"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup project
uses: ./.github/actions/setup-project
- name: Build
run: yarn build:core
- name: Setup NPM Auth
run: |
echo "//registry.yarnpkg.com/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}
- name: Publish to npm
run: yarn publish:core:latest
env:
NODE_AUTH_TOKEN: ${{ secrets.ORG_NPM_TOKEN }}