Skip to content

Commit 74dae42

Browse files
committed
fixup! meta: add release automations (#3304)
1 parent aed5f22 commit 74dae42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
run: git --no-pager diff HEAD^ -- CHANGELOG.md | awk '{ if( substr($0,0,1) == "+" && $1 != "+##" && $1 != "+Released:" && $1 != "+++" ) { print substr($0,2) } }' > CHANGELOG.diff.md
3030
- name: Build before publishing
3131
run: corepack yarn run build
32+
- name: Login to NPM
33+
run: corepack yarn config set npmAuthToken ${{ toJSON(secrets.NPM_TOKEN) }}
3234
- name: Publish to NPM
3335
run: corepack yarn workspaces foreach --no-private npm publish --access public --tolerate-republish
34-
env:
35-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3636
- name: Merge PR
3737
id: merge
3838
run: |

0 commit comments

Comments
 (0)