File tree Expand file tree Collapse file tree 1 file changed +31
-10
lines changed Expand file tree Collapse file tree 1 file changed +31
-10
lines changed Original file line number Diff line number Diff line change 1- name : Plugins - CI
1+ name : CI
22
33on :
44 push :
55 branches :
66 - main
77 pull_request :
88
9- permissions : {}
9+ permissions :
10+ contents : read
1011
1112jobs :
12- ci :
13- name : CI
14- uses : grafana/plugin-ci-workflows/.github/workflows/ci.yml@main # zizmor: ignore[unpinned-uses]
15- permissions :
16- contents : read
17- id-token : write
18- with :
19- plugin-version-suffix : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
13+ check :
14+ name : Automated checks
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ with :
20+ persist-credentials : false
21+
22+ - name : Setup environment
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version-file : ' .nvmrc'
26+
27+ - name : Install dependencies
28+ run : yarn install --immutable
29+
30+ - name : Spellcheck
31+ run : yarn spellcheck
32+
33+ - name : Lint files
34+ run : yarn lint
35+
36+ - name : Run tests
37+ run : yarn test:ci
38+
39+ - name : Run build
40+ run : yarn build
You can’t perform that action at this time.
0 commit comments