Skip to content

Commit f16b8f6

Browse files
committed
feature commit
1 parent 1852a81 commit f16b8f6

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Node.js Package
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
# Setup .npmrc file to publish to npm
9+
- uses: actions/setup-node@v2
10+
with:
11+
node-version: '14.x'
12+
registry-url: 'https://registry.npmjs.org'
13+
- run: npm install
14+
- run: npm publish
15+
env:
16+
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ dist
99
.DS_Store
1010
.vscode/
1111
manually-test-on-heroku.js
12+
.npmrc

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
{
2-
"name": "node-postgres",
2+
"name": "@bungeetech-npm/node-postgres",
3+
"version": "0.0.1",
34
"description": "node postgres monorepo",
45
"main": "index.js",
5-
"private": true,
6-
"repository": "git@github.com:brianc/node-postgres.git",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/Bungeetech/node-postgres.git"
9+
},
10+
"bugs": {
11+
"url": "https://github.com/Bungeetech/node-postgres/issues"
12+
},
13+
"homepage": "https://github.com/Bungeetech/node-postgres#readme",
714
"author": "Brian M. Carlson <brian.m.carlson@gmail.com>",
815
"license": "MIT",
916
"workspaces": [

0 commit comments

Comments
 (0)