Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dest not working #106

Open
himself65 opened this issue Nov 28, 2023 · 1 comment
Open

dest not working #106

himself65 opened this issue Nov 28, 2023 · 1 comment

Comments

@himself65
Copy link

himself65 commented Nov 28, 2023

In the source code, dest should be treated as cwd I think

const { version, dest, packageJsonFile, standalone } = inputs
// prepare self install
await remove(dest)
const pkgJson = path.join(dest, 'package.json')
await ensureFile(pkgJson)
await writeFile(pkgJson, JSON.stringify({ private: true }))

See:

https://github.com/himself65/pnpm-ci-issue/actions/runs/7022140432/job/19105805080
https://github.com/himself65/pnpm-ci-issue/actions/runs/7022140432/workflow

@himself65
Copy link
Author

himself65 commented Nov 28, 2023

Seems like I should use package_json_file? but what does dest use for here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant