Skip to content

Commit

Permalink
Merge pull request #124 from ensdomains/fix/latest-publish
Browse files Browse the repository at this point in the history
fix: publish with latest tag
  • Loading branch information
LeonmanRolls authored Jul 13, 2023
2 parents 65a679b + bd70fa7 commit b4f59d0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,13 @@ jobs:
run: |
cp README.md components/README.md
- name: Publish Main
if: ${{ github.ref == 'refs/heads/main'}}
- name: Publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
pnpm -F @ensdomains/thorin publish
- name: Publish Next
if: ${{ github.ref != 'refs/heads/main'}}
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm config set //registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}
pnpm -F @ensdomains/thorin publish --tag next --no-git-checks
- name: Push changes
run: git push
env:
Expand Down

0 comments on commit b4f59d0

Please sign in to comment.