From f3f8fe776467876febdddbb7373c4b4c6442f3a2 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Sat, 13 Dec 2025 19:00:22 +0100 Subject: [PATCH] Fix npm publish workflow Last one didn't work out: ``` Run npm publish npm warn Unknown user config "always-auth". This will stop working in the next major version of npm. npm error code ENOENT npm error syscall open npm error path /home/runner/work/prism/prism/package.json npm error errno -2 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/runner/work/prism/prism/package.json' npm error enoent This is related to npm not being able to find a file. npm error enoent npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-10-16T12_44_21_684Z-debug-0.log ``` --- .github/workflows/publish-npm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 96e6654295..e14746a155 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -43,3 +43,4 @@ jobs: run: npm install -g npm@latest - run: npm publish + working-directory: javascript