Skip to content

Commit 223c729

Browse files
slax57Aijeyomah
authored andcommitted
[no ci] fix greenframe analyze command
1 parent 846e9b8 commit 223c729

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,14 @@ jobs:
194194
- name: Run e-commerce
195195
# Run the demo in production mode
196196
run: cd ./examples/demo/dist && python3 -m http.server 4173 &
197+
- name: Install GreenFrame CLI
198+
run: curl https://assets.greenframe.io/install.sh | bash
199+
shell: bash
197200
- name: Run GreenFrame Analysis
198-
uses: marmelab/greenframe-action@1.0.0
199201
env:
200202
GREENFRAME_SECRET_TOKEN: ${{secrets.GREENFRAME_SECRET_TOKEN}}
203+
run: greenframe analyze -C .greenframe.yml --branchName master
204+
shell: bash
201205

202206
create-react-admin:
203207
runs-on: ubuntu-latest

.greenframe.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ scenarios:
99
name: "Customers"
1010
threshold: 0.106
1111
baseURL: "http://localhost:4173"
12-
projectName: "react-admin"
13-
gitBranchName: "master"
12+
projectName: "react-admin"

0 commit comments

Comments
 (0)