Skip to content

Commit 82ff695

Browse files
authored
fix: publish directly via npm
`pnpm` is wrapping `npm` but I fear things are lost in translation since publishing fails with: ``` npm error code ENEEDAUTH npm error need auth This command requires you to be logged in to https://registry.npmjs.org/ ``` PR: #334
1 parent d451bf7 commit 82ff695

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- name: Build dist
4343
run: pnpm run build
4444

45+
- name: Update npm
46+
run: npm install -g npm@latest
47+
4548
- name: Publish to npm
4649
id: publish
47-
run: pnpm publish --no-git-checks
50+
run: npm publish --no-git-checks

0 commit comments

Comments
 (0)