Archived
1
0

Switch to a single job to build the npm package

The architecture specific jobs pull it in and then build releases.

Much faster!
This commit is contained in:
Anmol Sethi
2020-05-07 23:48:49 -04:00
parent 0ec1c69c06
commit bc453b5f0d
8 changed files with 104 additions and 72 deletions

View File

@ -8,13 +8,7 @@ main() {
yarn vscode
yarn build
yarn build:vscode
STATIC=1 yarn release
./ci/build/test-static-release.sh
./ci/build/archive-static-release.sh
if [[ $OSTYPE == linux* ]]; then
yarn pkg
fi
yarn release
}
main "$@"

View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
yarn release:static
./ci/build/test-static-release.sh
./ci/build/archive-static-release.sh
if [[ $OSTYPE == linux* ]]; then
yarn pkg
fi
}
main "$@"