Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add registry-url and cache config to github actions setup-node (s…
…toracha#348) Cutting a new release earlier today failed. Fortunately @alanshaw and @olizilla noticed that our working w3protocol builds have two extra lines of relevant config, one of which seems to be the culprit: > @alanshaw > Only difference I can see is with w3ui and w3protocol is that setup-node in w3protocol sets cache: pnpm and registry-url: 'https://registry.npmjs.org' https://github.com/web3-storage/w3protocol/blob/4d72ba3a1ce2564cda13c62137967613b18334a7/.github/workflows/release.yml#L47-L48 which is not being set here: https://github.com/web3-storage/w3ui/blob/0c661c6f4d28776b4ac7ad1aea3e0958186f8480/.github/actions/pnpm/action.yml#L7-L9 > olizilla > it looks like registry-url must be set for setup-node to configure npm with an auth token: https://github.com/actions/setup-node/blob/ae9f0f7448e93b1be0f44663e79763dbdffcc4da/src/main.ts#L56-L60 add these lines and pray to the release gods!
- Loading branch information