mirror of
https://github.com/primer/css.git
synced 2024-12-23 14:13:14 +03:00
e1b3f4f4bd
* Remove yarn in favor of npm * Create tame-turkeys-laugh.md * Check in package-lock * Revert * Use auto commit action instead * Cache and run npm ci * Change node version to 18 * config legacy-peer-deps * Update node version * Also legacy peer deps in docs * Ignore yarn.lock * no-audit no-fund * I dont know * re-yarn the docs folder * Update pakage-lock.json * package lock * Removing yarn from docs again * Remove docs preview * don't depend on deploy * put back --------- Co-authored-by: Katie Langerman <18661030+langermank@users.noreply.github.com>
15 lines
261 B
Bash
Executable File
15 lines
261 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# Build the base project so we can pull out the JSON data
|
|
npm run dist
|
|
cp -rf dist docs
|
|
|
|
# Now build the docs site using that data
|
|
cd docs
|
|
|
|
if [ -n "$1" ]; then
|
|
CI=true npm run build:storybook preview
|
|
else
|
|
CI=true npm run build:storybook
|
|
fi
|