File tree Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Expand file tree Collapse file tree 2 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 7
7
publish :
8
8
if : " contains(github.event.head_commit.message, 'Release GrapesJS React latest:')"
9
9
runs-on : ubuntu-latest
10
+ secrets : inherit
10
11
steps :
11
12
- name : Checkout
12
13
uses : actions/checkout@v4
14
+
13
15
- name : Setup project
14
16
uses : ./.github/actions/setup-project
17
+
15
18
- name : Build
16
19
run : yarn build:core
20
+
21
+ - name : Setup NPM Auth
22
+ run : |
23
+ echo "//registry.yarnpkg.com/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
24
+ echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
25
+ env :
26
+ NODE_AUTH_TOKEN : ${{ secrets.ORG_NPM_TOKEN }}
27
+
17
28
- name : Publish to npm
29
+ run : yarn publish:core:latest
18
30
env :
19
31
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:latest
Original file line number Diff line number Diff line change 7
7
publish :
8
8
if : " contains(github.event.head_commit.message, 'Release GrapesJS React rc:')"
9
9
runs-on : ubuntu-latest
10
+ secrets : inherit
10
11
steps :
11
12
- name : Checkout
12
13
uses : actions/checkout@v4
13
14
- name : Setup project
14
15
uses : ./.github/actions/setup-project
15
16
- name : Build
16
17
run : yarn build:core
18
+ - name : Setup NPM Auth
19
+ run : |
20
+ echo "//registry.yarnpkg.com/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
21
+ echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ./packages/grapesjs-react/.npmrc
22
+ env :
23
+ NODE_AUTH_TOKEN : ${{ secrets.ORG_NPM_TOKEN }}
17
24
- name : Publish to npm
25
+ run : yarn publish:core:rc
18
26
env :
19
27
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
You can’t perform that action at this time.
0 commit comments