| commit | 751b6420fc46ffcb6856c96b9cce08c5e3d22662 | [log] [tgz] |
|---|---|---|
| author | Fine0830 <fanxue0830@gmail.com> | Tue May 09 10:06:12 2023 +0800 |
| committer | Fine0830 <fanxue0830@gmail.com> | Tue May 09 10:06:12 2023 +0800 |
| tree | 8350f01f33c5d724932fca60fc884e95266b4c0a | |
| parent | 7d9402cdd5758bdad3e1c774cee000955ff8c024 [diff] |
build: update ci
Install dependencies
yarn install
Build plugin in development mode and run in watch mode
yarn dev
Build plugin in production mode
yarn build
Run the tests (using Jest)
# Runs the tests and watches for changes, requires git init first yarn test # Exits after running all the tests yarn test:ci
Spin up a Grafana instance and run the plugin inside it (using Docker)
yarn server
Run the E2E tests (using Cypress)
# Spins up a Grafana instance first that we tests against yarn server # Starts the tests yarn e2e
Run the linter
yarn lint # or yarn lint:fix