File tree 3 files changed +33
-0
lines changed
3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,28 @@ jobs:
14
14
matrix :
15
15
version : [20, 22]
16
16
steps :
17
+ # Checkout and setup.
17
18
- name : Checkout repository
18
19
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
20
+
21
+ # Set node version.
19
22
- name : Set node version
20
23
uses : actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
21
24
with :
22
25
node-version : ${{ matrix.version }}
26
+
27
+ # Install dependencies.
23
28
- name : Install dependencies
24
29
run : npm install
30
+
31
+ # Build all packages.
25
32
- name : Build all packages
26
33
run : npm run build
34
+
35
+ # Run linting.
27
36
- name : Run linting
28
37
run : npm run lint
38
+
39
+ # Run unit tests.
29
40
- name : Run unit tests
30
41
run : npm test
Original file line number Diff line number Diff line change @@ -11,21 +11,33 @@ jobs:
11
11
lint :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
+
15
+ # Checkout and setup.
14
16
- name : Checkout repository
15
17
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
18
+
19
+ # Set node version.
16
20
- name : Set node version
17
21
uses : actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
18
22
with :
19
23
node-version : 20
24
+
25
+ # Link Checker.
20
26
- name : Link Checker
21
27
uses : lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a
22
28
with :
23
29
fail : true
24
30
args : --scheme=https . --exclude-all-private --exclude npmjs.com
31
+
32
+ # Install dependencies.
25
33
- name : Install dependencies
26
34
run : npm install
35
+
36
+ # Run linting.
27
37
- name : Run linting
28
38
run : npm run lint
39
+
40
+ # Spell check.
29
41
- name : Spell check
30
42
uses : streetsidesoftware/cspell-action@4dc9d4bdf3974ed26d6f2e973c1e168edff47d80
31
43
with :
34
46
check_dot_files : true
35
47
incremental_files_only : false
36
48
config : ' cspell.config.yml'
49
+
50
+ # ShellCheck.
37
51
- name : Run ShellCheck
38
52
uses : ludeeus/action-shellcheck@cd81f4475ab741e097ec0fe73b692f3e49d66b8c
39
53
with :
Original file line number Diff line number Diff line change 14
14
# Checkout and setup.
15
15
- name : Checkout repository
16
16
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
17
+
18
+ # Set node version.
19
+ - name : Set node version
20
+ uses : actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace
21
+ with :
22
+ node-version : 20
23
+
24
+ # Install dependencies.
17
25
- name : Install dependencies
18
26
run : npm install
19
27
You can’t perform that action at this time.
0 commit comments