Skip to content

Commit cd3af58

Browse files
authored
Merge pull request #83 from segment-oj/dev-update-CI-szdytom
update CI
2 parents 794c0e6 + f8546ee commit cd3af58

File tree

2 files changed

+60
-32
lines changed

2 files changed

+60
-32
lines changed

.github/workflows/lint.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Lint Check CI
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
lint-ubuntu:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
max-parallel: 6
11+
matrix:
12+
node-version: [10.1, 10.19, 12.1, 13.1, 14.5, 14.6]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 1
18+
ref: ${{ github.head_ref }}
19+
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: npm install
26+
working-directory: .
27+
run: npm install
28+
29+
- name: Run Lint
30+
run: |
31+
npm run lint -- --no-fix
32+
npm run lint:css
33+
34+
lint-windows:
35+
runs-on: windows-latest
36+
37+
strategy:
38+
max-parallel: 6
39+
matrix:
40+
node-version: [10.1, 10.19, 12.1, 13.1, 14.5, 14.6]
41+
42+
steps:
43+
- uses: actions/checkout@v2
44+
with:
45+
fetch-depth: 1
46+
ref: ${{ github.head_ref }}
47+
48+
- name: Use Node.js ${{ matrix.node-version }}
49+
uses: actions/setup-node@v1
50+
with:
51+
node-version: ${{ matrix.node-version }}
52+
53+
- name: npm install
54+
working-directory: .
55+
run: npm install
56+
57+
- name: Run Lint
58+
run: |
59+
npm run lint -- --no-fix
60+
npm run lint:css

.github/workflows/main.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)