Skip to content

Commit

Permalink
Add npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joon9823 committed Jan 5, 2024
1 parent 40f4be2 commit 88a4cfb
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 11 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: NPM publish

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '16'
registry-url: 'https://registry.npmjs.org'
- run: make all
working-directory: ./js
- run: npm publish
working-directory: ./js
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion block-sdk
Submodule block-sdk updated 111 files
2 changes: 1 addition & 1 deletion cosmos-proto
2 changes: 1 addition & 1 deletion cosmos-sdk
2 changes: 1 addition & 1 deletion ibc-go
Submodule ibc-go updated 1783 files
2 changes: 1 addition & 1 deletion ics23
Submodule ics23 updated from 74ce80 to bf89d9
2 changes: 1 addition & 1 deletion initia
Submodule initia updated 392 files
4 changes: 2 additions & 2 deletions js/package-lock.json

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

2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@initia/initia.proto",
"version": "0.1.18",
"version": "0.1.22",
"description": "JS and TS types relating to Protocol Buffers used by Initia project",
"license": "Apache-2.0",
"repository": {
Expand Down

0 comments on commit 88a4cfb

Please sign in to comment.