Skip to content

Commit 8468482

Browse files
committed
Update Docker Compose
1 parent a958eaa commit 8468482

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/e2e.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: Setup Node.js environment
1919
uses: actions/setup-node@v3
2020
with:
21-
node-version: '18'
22-
cache: 'npm'
21+
node-version: "20"
22+
cache: "npm"
2323

2424
- name: Install dependencies
2525
run: npm install
@@ -28,13 +28,13 @@ jobs:
2828
run: npm run build
2929

3030
- name: Start Grafana
31-
run: docker-compose up -d
31+
run: docker compose up -d
3232

3333
- name: Run e2e tests
3434
run: npm run e2e
3535

3636
- name: Stop Grafana
37-
run: docker-compose down
37+
run: docker compose down
3838

3939
- uses: actions/upload-artifact@v3
4040
if: failure()

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
"lint": "eslint --ignore-path ./.eslintignore --ext .js,.jsx,.ts,.tsx .",
6868
"lint:fix": "eslint --fix --ignore-path ./.eslintignore --ext .js,.jsx,.ts,.tsx .",
6969
"sign": "npx --yes @grafana/sign-plugin@latest --rootUrls http://localhost:3000/",
70-
"start": "docker-compose pull && docker-compose up",
71-
"stop": "docker-compose down",
70+
"start": "docker compose pull && docker compose up",
71+
"stop": "docker compose down",
7272
"test": "jest --watch --onlyChanged",
7373
"test:ci": "jest --maxWorkers 4 --coverage",
7474
"upgrade": "npm upgrade --save"

0 commit comments

Comments
 (0)