Skip to content

Commit 754dda8

Browse files
authored
Update npm-publish.yml
1 parent 657afcd commit 754dda8

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

.github/workflows/npm-publish.yml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@ jobs:
99
name: npm-publish
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Checkout repository
13-
uses: actions/checkout@master
14-
- name: Set up Node.js
15-
uses: actions/setup-node@master
16-
with:
17-
node-version: 12.0.0
18-
- name: Build the package
19-
run: npm run build
20-
- name: Publish if version has been updated
21-
uses: pascalgn/npm-publish-action@1.3.3
22-
with: # Documentation of inputs https://github.com/marketplace/actions/publish-to-npm#inputs
23-
tag_name: "v%s"
24-
tag_message: "v%s"
25-
commit_pattern: "^Release (\\S+)"
26-
workspace: "."
27-
env: # Documentation of environment variables https://github.com/marketplace/actions/publish-to-npm#environment-variables
28-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
29-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # Must be set in repo settings
12+
- name: To be completed
13+
run: echo "This workflow needs to be completed"
14+
#- name: Checkout repository
15+
# uses: actions/checkout@master
16+
#- name: Set up Node.js
17+
# uses: actions/setup-node@master
18+
# with:
19+
# node-version: 12.0.0
20+
#- name: Build the package
21+
# run: npm run build
22+
#- name: Publish if version has been updated
23+
# uses: pascalgn/npm-publish-action@1.3.3
24+
# with: # Documentation of inputs https://github.com/marketplace/actions/publish-to-npm#inputs
25+
# tag_name: "v%s"
26+
# tag_message: "v%s"
27+
# commit_pattern: "^Release (\\S+)"
28+
# workspace: "."
29+
# env: # Documentation of environment variables https://github.com/marketplace/actions/publish-to-npm#environment-variables
30+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
31+
# NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # Must be set in repo settings

0 commit comments

Comments
 (0)