Skip to content

Commit

Permalink
add: package
Browse files Browse the repository at this point in the history
  • Loading branch information
niazhussain committed May 10, 2023
1 parent 8b46dcd commit da9f119
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 29 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
scope: 'nhussain'
#- run: npm ci
- run: npm install
- run: node tools/scripts/publish.mjs @peaq-network/sdk 0.2.4 next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58 changes: 29 additions & 29 deletions package-lock.json

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

0 comments on commit da9f119

Please sign in to comment.