Skip to content

Commit

Permalink
Merge pull request #52 from 0chain/ashu/publish-action-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuvssut authored May 8, 2024
2 parents 4b12995 + 95ccd19 commit 7f0d1f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/changeset-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jobs:
run: yarn install

- name: tsc Linting
run: cd lib/js-sdk && yarn lint
working-directory: lib/js-sdk
run: yarn lint

- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: cd lib/js-sdk && yarn release
publish: yarn release
cwd: lib/js-sdk
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token2 }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ jobs:
run: yarn install

- name: tsc Linting
run: cd lib/js-sdk && yarn lint
working-directory: lib/js-sdk
run: yarn lint

- name: Build SDK dist/
run: cd lib/js-sdk && yarn build
working-directory: lib/js-sdk
run: yarn build

0 comments on commit 7f0d1f6

Please sign in to comment.