Skip to content

Commit 913dd33

Browse files
committed
Add Github workflow file
1 parent 4747c8d commit 913dd33

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/code.quality.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Code Quality 🏆"
2+
on:
3+
release:
4+
types: [published]
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
push:
8+
branches:
9+
- master
10+
- release/**
11+
12+
jobs:
13+
linting:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: "18.x"
23+
24+
- name: Install packages
25+
working-directory: .
26+
run: npm ci --legacy-peer-deps
27+
28+
- name: Build
29+
working-directory: .
30+
run: npm run build
31+
32+
- name: ESLint
33+
working-directory: .
34+
run: npm run lint

0 commit comments

Comments
 (0)