Skip to content

Commit 6c4099a

Browse files
committed
Test github action to auto publish to npm.
1 parent 73f3c37 commit 6c4099a

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

.github/workflows/npm.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on:
2+
push:
3+
branches:
4+
-master
5+
-githubactions
6+
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: 10
16+
- uses: JS-DevTools/npm-publish@v1
17+
with:
18+
token: ${{ secrets.NPM_TOKEN }}

.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docs
2+
images

package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "pipedream",
3+
"version": "0.2.1",
4+
"description": "Pipedream Components",
5+
"main": "index.js",
6+
"directories": {
7+
"lib": "components",
8+
"doc": "docs",
9+
"example": "examples"
10+
},
11+
"scripts": {
12+
"test": "echo \"Error: no test specified\" && exit 1"
13+
},
14+
"repository": {
15+
"type": "git",
16+
"url": "git+https://github.com/PipedreamHQ/pipedream.git"
17+
},
18+
"keywords": [
19+
"pipedream",
20+
"integration",
21+
"api"
22+
],
23+
"author": "Pipedream <[email protected]> (https://pipedream.com)",
24+
"license": "MIT",
25+
"bugs": {
26+
"url": "https://github.com/PipedreamHQ/pipedream/issues"
27+
},
28+
"homepage": "https://github.com/PipedreamHQ/pipedream#readme"
29+
}

0 commit comments

Comments
 (0)