Skip to content

Commit

Permalink
fix npm release pipeline (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
satyamakgec authored Aug 22, 2022
1 parent f7b3c6b commit cf5f83a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
node-version: 15
registry-url: https://registry.npmjs.org
- name: Install Dependencies
run: yarn
run: npm i
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"files": ["contracts/*", "transactions/*"],
"scripts": {
"release": "npm run changeset version && npm run changeset publish"
"release": "changeset version && changeset publish"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit cf5f83a

Please sign in to comment.