github actions workflows added (#1947)

* github actions workflows added

* added playwright tests

* Apply suggestions from code review

* Update .github/workflows/push.yaml
This commit is contained in:
Sriram
2025-01-17 17:03:46 +00:00
committed by GitHub
parent 81fd5f4404
commit 88b732e062
8 changed files with 190 additions and 29 deletions

View File

@@ -15,13 +15,12 @@
"scripts": {
"build": "webpack -c ./webpack.config.ts --env production",
"dev": "webpack -w -c ./webpack.config.ts --env development",
"e2e": "yarn exec cypress install && yarn exec grafana-e2e run",
"e2e:update": "yarn exec cypress install && yarn exec grafana-e2e run --update-screenshots",
"e2e": "yarn playwright test",
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "yarn run lint --fix",
"server": "docker-compose up --build",
"server:down": "docker-compose --file ./devenv/default/docker-compose.yml down",
"server:stop": "docker-compose --file ./devenv/default/docker-compose.yml stop",
"server": "docker compose up --build",
"server:down": "docker compose --file ./devenv/default/docker-compose.yml down",
"server:stop": "docker compose --file ./devenv/default/docker-compose.yml stop",
"sign": "npx --yes @grafana/sign-plugin@latest",
"spellcheck": "cspell -c cspell.config.json \"**/*.{ts,tsx,js,go,md,mdx,yml,yaml,json,scss,css}\"",
"test": "jest --watch --onlyChanged",
@@ -44,7 +43,9 @@
"devDependencies": {
"@babel/core": "^7.21.4",
"@grafana/eslint-config": "^6.0.0",
"@grafana/plugin-e2e": "^1.14.6",
"@grafana/tsconfig": "^1.2.0-rc1",
"@playwright/test": "^1.48.0",
"@swc/core": "^1.3.90",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.26",