Skip to content

Commit

Permalink
Update package name and ship it
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbhr committed Nov 21, 2023
1 parent db3a131 commit 6f63f11
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package
name: Publish Node Package

on:
release:
Expand All @@ -10,13 +7,16 @@ on:
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
registry-url: 'https://npm.pkg.github.com'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_SECRET_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "zotapaysdk",
"name": "@zota/sdk",
"author": "Zota Technology Pte LTD",
"version": "1.3.1",
"description": "This Node.js SDK provides all the necessary methods for integrating the Zotapay Merchant API.",

"repository": {
"type": "git",
"url": "git+https://github.com/zotapay/node-sdk.git"
"url": "https://github.com/zotapay/node-sdk.git"
},
"bugs": {
"url": "https://github.com/zotapay/node-sdk/issues"
Expand Down

0 comments on commit 6f63f11

Please sign in to comment.