diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1fe36dbc..038a6e42 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,6 +22,9 @@ jobs: run: npm run build - name: Increment version run: npm run increment - - name: Publish Dev - run: npm publish --tag next --dry-run - if: ${{ github.ref == 'refs/heads/dev' }} \ No newline at end of file + - name: Publish @next + run: npm publish --tag next + if: ${{ github.ref == 'refs/heads/dev' }} + - name: Publish @latest + run: npm publish + if: ${{ github.ref == 'refs/heads/main' }} \ No newline at end of file