mirror of https://github.com/artf/grapesjs.git
nocodeframeworkdrag-and-dropsite-buildersite-generatortemplate-builderui-builderweb-builderweb-builder-frameworkwebsite-builderno-codepage-builder
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
739 B
26 lines
739 B
name: Publish GrapesJS core latest
|
|
on:
|
|
push:
|
|
branches: [dev]
|
|
paths:
|
|
- 'packages/core/**'
|
|
|
|
jobs:
|
|
publish:
|
|
if: "contains(github.event.head_commit.message, 'Release GrapesJS core latest:')"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ./.github/actions/setup-project
|
|
- name: Build cli
|
|
run: pnpm run build:cli
|
|
- name: Build core
|
|
run: pnpm run build:core
|
|
- name: Check core TS
|
|
run: pnpm run ts:check
|
|
- name: Publish to npm
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
run: |
|
|
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/core/.npmrc
|
|
pnpm publish:core:latest
|
|
|