Skip to content

Commit b4b3628

Browse files
committed
Use standard pnpm publish -r instead of a 3rd party action.
1 parent 03c2b48 commit b4b3628

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,8 @@ jobs:
4242
- name: Run CI with turbo
4343
run: pnpm run ci
4444

45-
- name: Publish eslint-plugin-solid to npm if needed
46-
if: ${{ github.ref_name }} == "main"
47-
uses: JS-DevTools/npm-publish@v3
48-
with:
49-
package: ./packages/eslint-plugin-solid
50-
token: ${{ secrets.NPM_TOKEN }}
51-
strategy: upgrade
52-
access: public
53-
provenance: true
54-
# TODO remove
55-
dry-run: true
56-
57-
- name: Publish eslint-solid-standalone to npm if needed
58-
if: ${{ github.ref_name }} == "main"
59-
uses: JS-DevTools/npm-publish@v3
60-
with:
61-
package: ./packages/eslint-solid-standalone
62-
token: ${{ secrets.NPM_TOKEN }}
63-
strategy: upgrade
64-
access: public
65-
provenance: true
66-
# TODO remove
67-
dry-run: true
45+
- name: Publish to npm if needed
46+
if: ${{ github.ref }} == "refs/heads/main"
47+
env:
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
run: pnpm publish -r --dry-run

0 commit comments

Comments
 (0)