Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Commit 09be4f7

Browse files
authored
feat: support light mode (#8)
1 parent f581648 commit 09be4f7

File tree

5 files changed

+1240
-47
lines changed

5 files changed

+1240
-47
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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:
@@ -57,6 +57,7 @@ jobs:
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:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.9"
22
services:
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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
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",
@@ -15,7 +16,7 @@
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
}

0 commit comments

Comments
 (0)