This repository has been archived by the owner on Aug 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
6688017
commit ca80437
Showing
3 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,25 +27,40 @@ jobs: | |
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: "yarn" | ||
cache: 'yarn' | ||
cache-dependency-path: yarn.lock | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Shrink to zip | ||
run: | | ||
./scripts/shrink.sh | ||
pwd | ||
cd ./build | ||
pwd | ||
unzip -o ./trex.zip -d ./ | ||
ls -la | ||
yarn | ||
yarn tk:ext dist | ||
ls -l platforms/tktrex/extension/dist/*.zip | ||
yarn yt:ext dist | ||
ls -l platforms/yttrex/extension/dist/*.zip | ||
yarn ycai build | ||
ls -l platforms/ycai/studio/build/extension/*.zip | ||
# - name: Test project | ||
# run: yarn test | ||
|
||
- name: Build Dashboard | ||
env: | ||
DOTENV_CONFIG_PATH: .env.beta | ||
DEBUG: "@trex*,@YCAI*" | ||
DEBUG: '@trex*,@YCAI*' | ||
run: yarn ycai build | ||
|
||
- name: Release Version | ||
run: yarn release-it --no-github.release --release-version | ||
|
||
|
||
- name: Deploy YCAI Dashboard | ||
uses: burnett01/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
#!/usr/bin/bash | ||
|
||
set -x | ||
set -ex | ||
|
||
# This script is necessary to produce the .zip files to submit to mozilla store | ||
# Otherwise the repo is too big | ||
|
||
out=../trex-from-zip | ||
from=${1:-./build/trex.zip} | ||
out=${2:-./build} | ||
|
||
mkdir -p $out | ||
|
||
# cp ./build/trex.zip $out/ | ||
|
||
unzip -o -d $out build/trex.zip | ||
unzip -o -d $out $from | ||
|
||
cd $out || exit | ||
|
||
ls -la | ||
|
||
yarn install | ||
|
||
yarn tk:ext build | ||
yarn yt:ext build | ||
yarn tk:ext dist | ||
ls -l platforms/tktrex/extension/dist/*.zip | ||
yarn yt:ext dist | ||
ls -l platforms/yttrex/extension/dist/*.zip | ||
yarn ycai build | ||
ls -l platforms/ycai/studio/build/extension/*.zip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters