Skip to content

Commit 75a7bfb

Browse files
added package deployment workflow
1 parent 6b58153 commit 75a7bfb

File tree

3 files changed

+109
-83
lines changed

3 files changed

+109
-83
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish Vue.js Package
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: 12
16+
- run: npm i && npm run build
17+
18+
publish-npm:
19+
needs: build
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v1
24+
with:
25+
node-version: 12
26+
registry-url: https://registry.npmjs.org/
27+
- run: npm publish
28+
env:
29+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package-lock.json

Lines changed: 72 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "flutterwave-vue-v3",
3-
"version": "0.1.0",
3+
"version": "1.0.1",
44
"private": false,
55
"description": "Flutterwave official Vue library to accept payment via Card , USSD, QrCode etc.",
66
"author": "Flutterwave",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/Flutterwave/Flutterwave-Vue-v3"
9+
"url": "git+https://github.com/Flutterwave/Flutterwave-Vue-v3.git"
1010
},
1111
"homepage": "https://github.com/Flutterwave/Flutterwave-Vue-v3",
1212
"keywords": [
@@ -56,5 +56,11 @@
5656
},
5757
"engines": {
5858
"node": ">=10"
59+
},
60+
"bugs": {
61+
"url": "https://github.com/Flutterwave/Flutterwave-Vue-v3/issues"
62+
},
63+
"directories": {
64+
"example": "example"
5965
}
6066
}

0 commit comments

Comments
 (0)