File tree Expand file tree Collapse file tree 4 files changed +622
-4218
lines changed Expand file tree Collapse file tree 4 files changed +622
-4218
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ platform:
1111
1212steps :
1313 - name : initialize
14- image : grafana/grafana-plugin-ci:1.5.1-alpine
14+ image : grafana/grafana-plugin-ci:1.9.0
1515 commands :
1616 - mkdir -p bin
1717 - curl -fL -o bin/grabpl https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v0.5.27/grabpl
@@ -21,16 +21,16 @@ steps:
2121 - rm -rf node_modules/@grafana/data/node_modules
2222
2323 - name : build-and-test-frontend
24- image : grafana/grafana-plugin-ci:1.5.1-alpine
24+ image : grafana/grafana-plugin-ci:1.9.0
2525 commands :
2626 - yarn eslint ./src --ext .js,.jsx,.ts,.tsx
2727 - yarn build
28- - yarn test- ci
28+ - yarn test: ci
2929 depends_on :
3030 - initialize
3131
3232---
3333kind : signature
34- hmac : 4f7eaf8336ad46a783436864368ed391cb4aade800bf4cc586df0c9cbfcc97e3
34+ hmac : 3af0c951d64c787596492c1b2725a42003cefa0aca2f483dd111159c454c720d
3535
3636...
Original file line number Diff line number Diff line change 2727
2828 - name : Setup .npmrc file for NPM registry
2929 if : steps.version_check.outputs.changed == 'true'
30- uses : actions/setup-node@v2
30+ - uses : actions/setup-node@v3
3131 with :
32- node-version : ' 16 '
32+ node-version-file : ' .nvmrc '
3333 registry-url : ' https://registry.npmjs.org'
3434
3535 - name : Install dependencies
4848
4949 - name : Setup .npmrc file for GitHub Packages
5050 if : steps.version_check.outputs.changed == 'true'
51- uses : actions/setup-node@v2
51+ - uses : actions/setup-node@v3
5252 with :
53- node-version : ' 16 '
53+ node-version-file : ' .nvmrc '
5454 registry-url : ' https://npm.pkg.github.com'
5555 scope : ' @grafana'
5656
Original file line number Diff line number Diff line change 1717 "typecheck" : " tsc -p ./tsconfig.build.json" ,
1818 "test" : " jest --notify --watch" ,
1919 "test:coverage" : " jest --coverage" ,
20- "test- ci" : " grafana-toolkit plugin:test "
20+ "test: ci" : " jest "
2121 },
2222 "files" : [
2323 " dist"
3131 },
3232 "devDependencies" : {
3333 "@grafana/data" : " 9.4.14" ,
34+ "@grafana/eslint-config" : " ^6.0.1" ,
3435 "@grafana/runtime" : " 9.4.14" ,
35- "@grafana/toolkit" : " 9.4.14" ,
3636 "@grafana/ui" : " 9.4.14" ,
3737 "@rollup/plugin-node-resolve" : " ^15.0.1" ,
3838 "@testing-library/jest-dom" : " 5.16.5" ,
4343 "@types/node" : " 16.18.6" ,
4444 "@types/react" : " 17.0.42" ,
4545 "@types/react-dom" : " 17.0.14" ,
46+ "@typescript-eslint/eslint-plugin" : " ^5.48.0" ,
4647 "esbuild" : " ^0.16.2" ,
48+ "eslint" : " ^8.49.0" ,
49+ "eslint-plugin-jsdoc" : " ^46.7.0" ,
50+ "eslint-plugin-react" : " ^7.31.11" ,
51+ "eslint-plugin-react-hooks" : " ^4.6.0" ,
4752 "jest" : " 27.5.1" ,
4853 "node-notifier" : " ^10.0.1" ,
4954 "react" : " 17.0.2" ,
You can’t perform that action at this time.
0 commit comments