forked from deriv-com/SmartCharts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ahmadtaimoor-deriv-patch-4
- Loading branch information
Showing
1 changed file
with
8 additions
and
9 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 |
---|---|---|
|
@@ -60,14 +60,14 @@ jobs: | |
with: | ||
node-version: 18.x | ||
|
||
# - name: Setup deriv-app | ||
# run: cd deriv-app && npm install && npm run bootstrap | ||
- name: Setup deriv-app | ||
run: cd deriv-app && npm install && npm run bootstrap | ||
|
||
# - name: Remove @deriv-charts in deriv-app | ||
# run: rm -rf deriv-app/node_modules/@deriv/deriv-charts/dist | ||
- name: Remove @deriv-charts in deriv-app | ||
run: rm -rf deriv-app/node_modules/@deriv/deriv-charts/dist | ||
|
||
# - name: Setup SmartCharts | ||
# run: cd SmartCharts && npm install | ||
- name: Setup SmartCharts | ||
run: cd SmartCharts && npm install | ||
|
||
- uses: subosito/flutter-action@v2 | ||
with: | ||
|
@@ -76,13 +76,12 @@ jobs: | |
cache: true | ||
|
||
- name: Build flutter | ||
env: | ||
GIT_SSH_COMMAND: 'ssh -i ${{ secrets.SSH_KEY }}' | ||
run: | | ||
cd SmartCharts/chart_app | ||
git config --global url.https://${{ secrets.REPO_READ_TOKEN }}@github.com/.insteadOf [email protected]: | ||
flutter pub get | ||
flutter build web --web-renderer html --release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.REPO_READ_TOKEN }} | ||
- name: Build SmartCharts | ||
run: cd SmartCharts && npm run build -- --output-path ../deriv-app/node_modules/@deriv/deriv-charts/dist | ||
|