Skip to content

Commit 64a80ce

Browse files
committed
Update npm-publish.yml
1 parent d761ccd commit 64a80ce

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,17 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@master
15-
- name: Set up Node.js
16-
uses: actions/setup-node@master
17-
with:
18-
node-version: 10.0.0
14+
uses: actions/checkout@v2
1915
- name: Publish if version has been updated
20-
uses: pascalgn/npm-publish-action@06e0830ea83eea10ed4a62654eeaedafb8bf50fc
16+
uses: pascalgn/npm-publish-action@1.3.6
2117
with: # All of theses inputs are optional
2218
tag_name: "%s"
2319
tag_message: "%s"
20+
create_tag: "true"
2421
commit_pattern: "^Release (\\S+)"
2522
workspace: "."
23+
publish_command: "yarn"
24+
publish_args: "--non-interactive"
2625
env: # More info about the environment variables in the README
2726
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
2827
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings

0 commit comments

Comments
 (0)