Skip to content

Commit b78b089

Browse files
committed
2 parents 9459594 + 754dda8 commit b78b089

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/npm-publish.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Based on template copied from https://github.com/marketplace/actions/publish-to-npm#usage
2+
name: npm-publish
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
npm-publish:
9+
name: npm-publish
10+
runs-on: ubuntu-latest
11+
steps:
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)