Skip to content

Commit

Permalink
chore: fix publish script (#86)
Browse files Browse the repository at this point in the history
* chore: add build step before publish

* chore: update to v2.0.5
  • Loading branch information
npty authored Aug 15, 2023
1 parent 71e9ec6 commit b32f4b5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
- name: Cache node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run build
- run: npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "2.0.4",
"version": "2.0.5",
"packages": [
"packages/*"
]
Expand Down
10 changes: 5 additions & 5 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 packages/axelar-local-dev-aptos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev-aptos",
"version": "2.0.4",
"version": "2.0.5",
"main": "dist/index.js",
"files": [
"dist/",
Expand All @@ -19,7 +19,7 @@
},
"dependencies": {
"@axelar-network/axelar-cgp-aptos": "^1.0.5",
"@axelar-network/axelar-local-dev": "2.0.4",
"@axelar-network/axelar-local-dev": "2.0.5",
"aptos": "1.3.16"
},
"author": "",
Expand Down
4 changes: 2 additions & 2 deletions packages/axelar-local-dev-near/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev-near",
"version": "2.0.4",
"version": "2.0.5",
"description": "",
"main": "dist/index.js",
"files": [
Expand All @@ -21,7 +21,7 @@
},
"dependencies": {
"@axelar-network/axelar-cgp-near": "^1.0.0",
"@axelar-network/axelar-local-dev": "2.0.4"
"@axelar-network/axelar-local-dev": "2.0.5"
},
"author": "",
"license": "ISC"
Expand Down
2 changes: 1 addition & 1 deletion packages/axelar-local-dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@axelar-network/axelar-local-dev",
"version": "2.0.4",
"version": "2.0.5",
"description": "",
"main": "dist/index.js",
"files": [
Expand Down

0 comments on commit b32f4b5

Please sign in to comment.