Skip to content

Commit 8d21842

Browse files
feat(ci): add GitHub actions for quality checks
1 parent 1ba0a48 commit 8d21842

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.github/workflows/honegger.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: honegger.dev build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- v*.*.*
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 18
21+
cache: pnpm
22+
- run: pnpm install --frozen-lockfile
23+
- run: pnpm check
24+
- run: pnpm lint
25+
26+
test:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v3
30+
- uses: actions/setup-node@v3
31+
with:
32+
node-version: 18
33+
cache: pnpm
34+
- run: pnpm install --frozen-lockfile
35+
- run: pnpx playwright install --with-deps
36+
- run: pnpm test
37+
38+
qodana-js:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v3
42+
- uses: actions/setup-node@v3
43+
with:
44+
node-version: 18
45+
cache: pnpm
46+
- run: pnpm install --frozen-lockfile
47+
- name: 'Qodana JS Scan'
48+
uses: JetBrains/qodana-action@v2022.2.1
49+
with:
50+
args: '--linter,jetbrains/qodana-js'
51+
artifact-name: 'qodana-js-report'
52+
cache-dir: ${{ runner.temp }}/qodana-js/caches

0 commit comments

Comments
 (0)