Skip to content

Commit b25e40d

Browse files
committed
Add code quality checks
1 parent a24434a commit b25e40d

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
quality-checks:
11+
name: QA checks
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- name: Setup node
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 20
22+
cache: "npm"
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Check formatting
26+
run: npx nx format:check
27+
- name: Lint
28+
run: npx nx lint

0 commit comments

Comments
 (0)