Skip to content

Commit

Permalink
Merge pull request #664 from morpho-org/fix/npm-release
Browse files Browse the repository at this point in the history
fix(ci): fix npm-release action
  • Loading branch information
Rubilmax authored Jan 17, 2024
2 parents 731e3f7 + d32d82d commit 2ffb682
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ jobs:
publish-to-npm:
name: Publish to NPM
runs-on: ubuntu-latest

environment:
name: npm
url: https://www.npmjs.com/package/@morpho-org/morpho-blue

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn publish --access public
yarn publish --access public --ignore-scripts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@morpho-org/morpho-blue",
"description": "Morpho Blue Protocol",
"license": "BUSL-1.1",
"version": "0.1.0",
"version": "1.0.0",
"files": [
"src",
"README.md",
Expand Down

0 comments on commit 2ffb682

Please sign in to comment.