-
Notifications
You must be signed in to change notification settings - Fork 4
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
Wmg write upload #1
Conversation
872c487
to
fd1c8bb
Compare
|
||
# Confirms Storybook still builds successfully | ||
check-storybook-builds: | ||
name: Build check - Storybook | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
cache-dependency-path: ${{ env.LOCKFILE_PATH }} | ||
cache: ${{ env.PACKAGE_MANAGER }} | ||
- run: npm ci | ||
- run: npm run storybook-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure this was useful for us so removed it but could add it back later... it's currently broken
@@ -4,7 +4,7 @@ | |||
"private": true, | |||
"scripts": { | |||
"build": "next build", | |||
"dev": "next dev", | |||
"dev": "NODE_OPTIONS='--inspect' next dev", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice for chrome devtools inspection
bodyParser: { | ||
sizeLimit: "10mb", | ||
}, | ||
bodyParser: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
turn off bodyParser to allow Formidable to do its thing
I think I must be doing something wrong, but I'm running the workflow where I upload a small jpg and:
|
@millerti what's your node version? |
Per discussion, this now works as described. It does seem to bury the file in /var instead of /tmp so maybe just update the description? |
Ticket
{LINK TO TICKET}
Changes
Writes the uploaded file to the os' tmp directory and prints the written file path in the console