Skip to content

Commit 99ab39c

Browse files
updated build process in workflow
1 parent 3cdb5d6 commit 99ab39c

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,33 +37,24 @@
3737
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
3838
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3939

40-
name: Node.js Package
41-
40+
name: Publish Angular package
41+
4242
on:
4343
push:
4444
branches:
4545
- master
46-
46+
4747
jobs:
4848
build:
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v2
52-
- uses: actions/setup-node@v1
53-
with:
54-
node-version: 12
55-
- run: npm i && npm run build
56-
57-
publish-npm:
58-
needs: build
5949
runs-on: ubuntu-latest
6050
steps:
6151
- uses: actions/checkout@v2
6252
- uses: actions/setup-node@v1
6353
with:
6454
node-version: 12
6555
registry-url: https://registry.npmjs.org/
66-
- run: npm publish
56+
- run: npm i && npm run build
57+
- run: cd dist && npm publish
6758
env:
6859
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
6960

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flutterwave-angular-v3",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "Flutterwave official Angular library to accept payment via card , USSD, QrCode etc.",
55
"author": "Flutterwave",
66
"repository": {

0 commit comments

Comments
 (0)