Skip to content

Commit 02f7357

Browse files
authored
Create main.yml
1 parent 5615f4b commit 02f7357

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Continuous integration
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [10.x, 12.x, 14.x, 15.x]
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm ci
23+
- run: npm run backend:lint:check
24+
- run: npm run backend_auth:lint:check
25+
- run: npm run frontend_auth:lint:check
26+
- run: npm run reactlib:lint:check
27+
- run: npm run typeslib:lint:checl

0 commit comments

Comments
 (0)