Skip to content

Commit f33f760

Browse files
authored
Update postpublish script (#140)
update package.json and github publish action
1 parent e4f914b commit f33f760

File tree

3 files changed

+60726
-61782
lines changed

3 files changed

+60726
-61782
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,15 @@ jobs:
1515
node-version: "16.x"
1616
registry-url: "https://registry.npmjs.org"
1717

18-
- name: install npm packages
18+
- name: Install npm packages
1919
run: npm install --legacy-peer-deps
2020

21-
- name: publish npm package
21+
- name: Add Automated git user
22+
run: |-
23+
git config user.name "Automated"
24+
git config user.email "actions@users.noreply.github.com"
25+
26+
- name: Publish npm package
2227
run: npm publish
2328
env:
2429
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)