Skip to content

Commit 679c024

Browse files
committed
chore: fix setup trusted publishing workflow
1 parent fca1492 commit 679c024

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.github/workflows/setup-trusted-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v6
18-
- uses: ./.github/actions/setup
18+
- uses: pnpm/action-setup@v4
19+
- uses: actions/setup-node@v6
20+
with:
21+
cache: pnpm
22+
node-version: lts/*
23+
- run: pnpm install
1924
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > ~/.npmrc
2025
- run: pnpm setup-npm-trusted-publish ${{ inputs.package }}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"oxlint-tsgolint": "^0.8.3",
4141
"prettier": "^3.7.2",
4242
"rimraf": "^6.1.2",
43+
"setup-npm-trusted-publish": "^1.0.3",
4344
"typescript": "catalog:",
4445
"vitest": "catalog:"
4546
},

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)