Skip to content

Commit f76d21c

Browse files
ci: fix npm trusted publishing (#36)
* Add loglevel verbose * temp: publish on branch * Add log level to correct command... * add npm install latest * checkout -> v5, minor tweaks to publish command * npm i latest * npx maybe? * Tidying * Try one final (simpler) change to update npm * add verbose loglevel * verbose log * Add minimum npm version * Revert all unnecessary changes * Remove temporary branch trigger
1 parent 7759431 commit f76d21c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ jobs:
2424
registry-url: 'https://registry.npmjs.org' # required for trusted publishing
2525

2626
- run: npm i
27-
- run: npm run deploy
27+
- run: npm run build
28+
- run: npx -y npm@latest publish

0 commit comments

Comments
 (0)