Skip to content

Commit 83b3e04

Browse files
author
Felix Franzén
committed
added npm workflow
1 parent df82986 commit 83b3e04

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/push-master.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on: push
2+
3+
jobs:
4+
publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- uses: actions/setup-node@v1
9+
with:
10+
node-version: 10
11+
- run: npm install
12+
- run: npm run build
13+
- id: publish
14+
uses: JS-DevTools/npm-publish@v1
15+
with:
16+
token: ${{ secrets.NPM_TOKEN }}
17+
- if: steps.publish.outputs.type != 'none'
18+
run: |
19+
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@klarna/postgres-to-docs",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "The smoooth way to document your Postgres database",
55
"main": "./dist/index.js",
66
"bin": "./dist/cli.js",

0 commit comments

Comments
 (0)