Skip to content

Commit

Permalink
fix: publish with latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Jul 12, 2023
1 parent 8943144 commit bd70fa7
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 bd70fa7

Please sign in to comment.