Skip to content

Commit fc393ea

Browse files
committed
Replace plugin workflows with a basic one
1 parent 2ef5525 commit fc393ea

File tree

1 file changed

+31
-10
lines changed

1 file changed

+31
-10
lines changed

.github/workflows/push.yaml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,40 @@
1-
name: Plugins - CI
1+
name: CI
22

33
on:
44
push:
55
branches:
66
- main
77
pull_request:
88

9-
permissions: {}
9+
permissions:
10+
contents: read
1011

1112
jobs:
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

0 commit comments

Comments
 (0)