forked from quisquous/cactbot
-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Labels
bugSomething isn't workingSomething isn't workingfix-meBug report validated or feature request plannedBug report validated or feature request planned
Description
Description
Release workflow step to create the cactbot npm package is failing
Additional Details / Steps to Reproduce
This seems to be caused by the recent merge of #271. When we version bump and the release workflow runs, the create_npm_package step fails. See, e.g.: https://github.com/OverlayPlugin/cactbot/actions/runs/12214469553/job/34075329007
For reference, here is the error log:
Run node .github/scripts/npm-package.cjs
node .github/scripts/npm-package.cjs
shell: /usr/bin/bash -e {0}
/opt/hostedtoolcache/node/[2](https://github.com/OverlayPlugin/cactbot/actions/runs/12214469553/job/34075329007#step:4:2)0.18.1/x64/bin/npx tsc --declaration
node:fs:10[3](https://github.com/OverlayPlugin/cactbot/actions/runs/12214469553/job/34075329007#step:4:3)2
binding.rename(
^
Error: ENOENT: no such file or directory, rename 'dist/util' -> 'npm-package/util'
at Object.renameSync (node:fs:1032:11)
at main (/home/runner/work/cactbot/cactbot/.github/scripts/npm-package.cjs:27:6)
at process.processTicksAndRejections (node:internal/process/task_queues:9[5](https://github.com/OverlayPlugin/cactbot/actions/runs/12214469553/job/34075329007#step:4:6):5) {
errno: -2,
code: 'ENOENT',
syscall: 'rename',
path: 'dist/util',
dest: 'npm-package/util'
}
Node.js v20.1[8](https://github.com/OverlayPlugin/cactbot/actions/runs/12214469553/job/34075329007#step:4:9).1
@MaikoTan, are you able to look at this?
Cactbot Module
Dev Tools / Internals
Configuration Info
N/A
Log & Screenshots
No response
Confirmation
- I reviewed Common Issues and Workarounds and verified that my settings are correct.
- I used the search function to confirm this issue doesn't already exist.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfix-meBug report validated or feature request plannedBug report validated or feature request planned