mirror of
https://github.com/primer/css.git
synced 2024-11-25 07:33:41 +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>
12 lines
215 B
Bash
Executable File
12 lines
215 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# generate the build directory
|
|
npm run dist > /dev/null
|
|
|
|
files=$(git ls-files src | sed -e 's#^src/##' | sed -e 's#/.*$##' | sort -u)
|
|
echo $files > publish-files.log
|
|
cd src
|
|
cp -rv $files ..
|
|
cd -
|