Closed ueokande closed 8 months ago
I found this issues does not related to the pnpm/action-setup. I've tried with the following steps, and the job outputs same error. The OpenSUSE docker image does not work well on the GitHub Actions. Maybe addPath()
affects the $PATH
?
steps:
- run: id
- uses: actions/setup-node@v3
with:
node-version: 20
- run: id
Let me close this issue. Thanks!
When I use the action in the openSUSE container, the action breaks the environment after using
pnpm/action-setup
. I cannot run any commands withrun
directive. The job fails with the following error:I guess GitHub Actions execute
sh
internally when we use container for a job.Here is a minimal GitHub Action manifest to reproduce the issue. The
id
command run successfully, before and afterpnpm/action-setup
, in the Fedora and Debian container. For the openSUSE, theid
command run successfully before pnpm/action-setup`, but the command fails after using the action.See the result in the GitHub Actions