File tree Expand file tree Collapse file tree 7 files changed +43
-30
lines changed Expand file tree Collapse file tree 7 files changed +43
-30
lines changed Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
env :
10
11
FORCE_COLOR : 2
11
- NODE : 14
12
+ NODE : 16
12
13
13
14
jobs :
14
15
bundlewatch :
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
19
- name : Clone repository
19
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
20
21
21
22
- name : Set up Node.js
22
- uses : actions/setup-node@v2
23
+ uses : actions/setup-node@v3
23
24
with :
24
25
node-version : " ${{ env.NODE }}"
25
26
cache : npm
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- - main
7
+ - dev
8
8
- " !dependabot/**"
9
9
pull_request :
10
10
# The branches below must be a subset of the branches above
11
11
branches :
12
12
- main
13
- - main
13
+ - v4-dev
14
14
- " !dependabot/**"
15
15
schedule :
16
16
- cron : " 0 2 * * 5"
17
+ workflow_dispatch :
17
18
18
19
jobs :
19
20
analyze :
26
27
27
28
steps :
28
29
- name : Checkout repository
29
- uses : actions/checkout@v2
30
+ uses : actions/checkout@v3
30
31
31
32
- name : Initialize CodeQL
32
33
uses : github/codeql-action/init@v1
Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
env :
10
11
FORCE_COLOR : 2
11
- NODE : 14
12
+ NODE : 16
12
13
13
14
jobs :
14
15
css :
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
19
- name : Clone repository
19
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
20
21
21
22
- name : Set up Node.js
22
- uses : actions/setup-node@v2
23
+ uses : actions/setup-node@v3
23
24
with :
24
25
node-version : " ${{ env.NODE }}"
25
26
cache : npm
Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
env :
10
11
FORCE_COLOR : 2
11
- NODE : 14
12
+ NODE : 16
12
13
13
14
jobs :
14
15
docs :
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
19
- name : Clone repository
19
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
20
21
21
22
- name : Set up Node.js
22
- uses : actions/setup-node@v2
23
+ uses : actions/setup-node@v3
23
24
with :
24
25
node-version : " ${{ env.NODE }}"
25
26
cache : npm
29
30
- name : Install npm dependencies
30
31
run : npm ci
31
32
32
- - name : Test docs
33
- run : npm run docs
33
+ - name : Build docs
34
+ run : npm run docs-build
35
+
36
+ - name : Validate HTML
37
+ run : npm run docs-vnu
38
+
39
+ - name : Run linkinator
40
+ uses : JustinBeckwith/linkinator-action@v1
41
+ with :
42
+ paths : _site
43
+ recurse : true
44
+ verbosity : error
45
+ skip : " ^(?!http://localhost)"
Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
env :
10
11
FORCE_COLOR : 2
12
+ NODE : 16
11
13
12
14
jobs :
13
15
run :
14
- name : Node ${{ matrix.node }}
16
+ name : JS Tests
15
17
runs-on : ubuntu-latest
16
18
17
- strategy :
18
- fail-fast : false
19
- matrix :
20
- node : [12, 14, 16]
21
-
22
19
steps :
23
20
- name : Clone repository
24
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v3
25
22
26
23
- name : Set up Node.js
27
- uses : actions/setup-node@v2
24
+ uses : actions/setup-node@v3
28
25
with :
29
- node-version : ${{ matrix.node }}
26
+ node-version : ${{ env.NODE }}
30
27
cache : npm
31
28
32
29
- name : Install npm dependencies
40
37
41
38
- name : Run Coveralls
42
39
uses :
coverallsapp/[email protected]
43
- if : matrix.node == 14
44
40
with :
45
41
github-token : " ${{ secrets.GITHUB_TOKEN }}"
46
42
path-to-lcov : " ./js/coverage/lcov.info"
Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
env :
10
11
FORCE_COLOR : 2
11
- NODE : 14
12
+ NODE : 16
12
13
13
14
jobs :
14
15
lint :
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
19
- name : Clone repository
19
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
20
21
21
22
- name : Set up Node.js
22
- uses : actions/setup-node@v2
23
+ uses : actions/setup-node@v3
23
24
with :
24
25
node-version : " ${{ env.NODE }}"
25
26
cache : npm
Original file line number Diff line number Diff line change 5
5
branches-ignore :
6
6
- " dependabot/**"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
env :
10
11
FORCE_COLOR : 2
11
- NODE : 14
12
+ NODE : 16
12
13
13
14
jobs :
14
15
css :
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
18
19
- name : Clone repository
19
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
20
21
21
22
- name : Set up Node.js
22
- uses : actions/setup-node@v2
23
+ uses : actions/setup-node@v3
23
24
with :
24
25
node-version : " ${{ env.NODE }}"
25
26
You can’t perform that action at this time.
0 commit comments