Skip to content

Commit

Permalink
fix: publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Mansi1 committed May 23, 2024
1 parent 0214803 commit e915de2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,8 @@ jobs:
with:
name: artifact
path: dist
- run: yarn release:package && ls -lisha release
- name: Publish if version in package.json change
uses: springtype-org/github-action-npm-publish@master
with:
install_build_packages: false
project_build_dir: release
create_tag: true
auth_token: ${{ secrets.NPM_TOKEN }}
- run: yarn release:package
- run: ls -lisha release
- run: npm publish publish release --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit e915de2

Please sign in to comment.