This repository was archived by the owner on Apr 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +1240
-47
lines changed Expand file tree Collapse file tree 5 files changed +1240
-47
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
3838 key : ${{ runner.os }}-${{ matrix.node-version }}-node-modules-${{ hashFiles('**/yarn.lock') }}
3939 restore-keys : |
4040 ${{ runner.os }}-${{ matrix.node-version }}-node-modules-
41+
42+ - name : Pull dependencies
43+ run : yarn
4144 - name : Cache Cypress Binary
4245 id : cache-cypress-binary
4346 uses : actions/cache@v2
4447 with :
4548 path : cypress/cache
4649 key : cypress-binary-${{ hashFiles('yarn.lock') }}
47-
48- - name : Pull dependencies
49- run : yarn
50-
50+ - run : yarn cypress install
5151 - name : Sign plugin
5252 run : yarn sign
5353 env :
5757 # We already tested it extensively in the other repository
5858 - name : Run grafana server
5959 run : docker-compose -f docker-compose.yml up -d
60+
6061 - name : Run tests
6162 run : yarn cy:ci
6263 env :
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ jobs:
3737 key : ${{ runner.os }}-${{ matrix.node-version }}-node-modules-${{ hashFiles('**/yarn.lock') }}
3838 restore-keys : |
3939 ${{ runner.os }}-${{ matrix.node-version }}-node-modules-
40+ - name : Pull dependencies
41+ run : yarn
4042 - name : Cache Cypress Binary
4143 id : cache-cypress-binary
4244 uses : actions/cache@v2
4345 with :
4446 path : cypress/cache
4547 key : cypress-binary-${{ hashFiles('yarn.lock') }}
46-
47- - name : Pull dependencies
48- run : yarn
48+ - run : yarn cypress install
4949 - name : Sign plugin
5050 run : yarn sign
5151 env :
Original file line number Diff line number Diff line change 11version : " 3.9"
22services :
33 grafana :
4- image : grafana/grafana:8.1.1
4+ image : grafana/grafana:9.2.4
55 volumes :
66 - ./dist:/var/lib/grafana/plugins/pyroscope-panel
77 - ./grafana.ini:/etc/grafana/grafana.ini
Original file line number Diff line number Diff line change 66 "postinstall" : " cp -r node_modules/@pyroscope/panel-plugin/dist ." ,
77 "cy:open" : " cypress open" ,
88 "cy:ci" : " cypress run" ,
9- "sign" : " grafana-toolkit plugin:sign"
9+ "sign" : " grafana-toolkit plugin:sign" ,
10+ "cypress" : " cypress"
1011 },
1112 "author" : " Pyroscope devs" ,
1213 "license" : " Apache-2.0" ,
1516 },
1617 "dependencies" : {
1718 "@grafana/toolkit" : " ^8.3.2" ,
18- "@pyroscope/panel-plugin" : " 1.2.3 " ,
19+ "@pyroscope/panel-plugin" : " 1.4.0 " ,
1920 "cypress" : " ^9.5.0"
2021 }
2122}
You can’t perform that action at this time.
0 commit comments