Files
hls.js/scripts/build-on-cloudflare.sh
2023-11-23 09:01:49 +00:00

16 lines
289 B
Bash
Executable File

#!/bin/bash
set -e
if [[ $(git rev-parse --is-shallow-repository) = "true" ]]; then
# make sure everything is fetched
git fetch --unshallow
fi
npm ci --force
./scripts/set-package-version.sh
npm run lint
npm run type-check
npm run build:ci
npm run docs
./scripts/build-cloudflare.sh