Skip to content

Commit

Permalink
Use standard pnpm publish -r instead of a 3rd party action.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsonvu committed Aug 31, 2024
1 parent 03c2b48 commit b4b3628
Showing 1 changed file with 5 additions and 23 deletions.
28 changes: 5 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,8 @@ jobs:
- name: Run CI with turbo
run: pnpm run ci

- name: Publish eslint-plugin-solid to npm if needed
if: ${{ github.ref_name }} == "main"
uses: JS-DevTools/npm-publish@v3
with:
package: ./packages/eslint-plugin-solid
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
access: public
provenance: true
# TODO remove
dry-run: true

- name: Publish eslint-solid-standalone to npm if needed
if: ${{ github.ref_name }} == "main"
uses: JS-DevTools/npm-publish@v3
with:
package: ./packages/eslint-solid-standalone
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
access: public
provenance: true
# TODO remove
dry-run: true
- name: Publish to npm if needed
if: ${{ github.ref }} == "refs/heads/main"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm publish -r --dry-run

0 comments on commit b4b3628

Please sign in to comment.