blob: 0b24e63a8ac7527f6b82761438df3f85d607e561 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
name: CS
on:
push:
branches:
- master
- 'feature/**'
- 'release/**'
- 'fix/**'
paths-ignore:
- "README.md"
# The branches below must be a subset of the branches above
pull_request:
branches:
- master
paths-ignore:
- "README.md"
jobs:
lint:
runs-on: ${{ matrix.os }}
name: Code linting
# The maximum number of minutes to let a workflow run
# before GitHub automatically cancels it. Default: 360
timeout-minutes: 30
strategy:
# When set to true, GitHub cancels
# all in-progress jobs if any matrix job fails.
fail-fast: false
matrix:
node:
- '14.x'
os:
- ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
|