Skip to content

Commit 570e78f

Browse files
committed
chore: update workflows
1 parent 0cc20e8 commit 570e78f

File tree

7 files changed

+43
-30
lines changed

7 files changed

+43
-30
lines changed

.github/workflows/bundlewatch.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ on:
55
branches-ignore:
66
- "dependabot/**"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: 2
11-
NODE: 14
12+
NODE: 16
1213

1314
jobs:
1415
bundlewatch:
1516
runs-on: ubuntu-latest
1617

1718
steps:
1819
- name: Clone repository
19-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2021

2122
- name: Set up Node.js
22-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2324
with:
2425
node-version: "${{ env.NODE }}"
2526
cache: npm

.github/workflows/codeql.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ on:
44
push:
55
branches:
66
- main
7-
- main
7+
- dev
88
- "!dependabot/**"
99
pull_request:
1010
# The branches below must be a subset of the branches above
1111
branches:
1212
- main
13-
- main
13+
- v4-dev
1414
- "!dependabot/**"
1515
schedule:
1616
- cron: "0 2 * * 5"
17+
workflow_dispatch:
1718

1819
jobs:
1920
analyze:
@@ -26,7 +27,7 @@ jobs:
2627

2728
steps:
2829
- name: Checkout repository
29-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3031

3132
- name: Initialize CodeQL
3233
uses: github/codeql-action/init@v1

.github/workflows/css.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ on:
55
branches-ignore:
66
- "dependabot/**"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: 2
11-
NODE: 14
12+
NODE: 16
1213

1314
jobs:
1415
css:
1516
runs-on: ubuntu-latest
1617

1718
steps:
1819
- name: Clone repository
19-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2021

2122
- name: Set up Node.js
22-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2324
with:
2425
node-version: "${{ env.NODE }}"
2526
cache: npm

.github/workflows/docs.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ on:
55
branches-ignore:
66
- "dependabot/**"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: 2
11-
NODE: 14
12+
NODE: 16
1213

1314
jobs:
1415
docs:
1516
runs-on: ubuntu-latest
1617

1718
steps:
1819
- name: Clone repository
19-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2021

2122
- name: Set up Node.js
22-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2324
with:
2425
node-version: "${{ env.NODE }}"
2526
cache: npm
@@ -29,5 +30,16 @@ jobs:
2930
- name: Install npm dependencies
3031
run: npm ci
3132

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)"

.github/workflows/js.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,25 @@ on:
55
branches-ignore:
66
- "dependabot/**"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: 2
12+
NODE: 16
1113

1214
jobs:
1315
run:
14-
name: Node ${{ matrix.node }}
16+
name: JS Tests
1517
runs-on: ubuntu-latest
1618

17-
strategy:
18-
fail-fast: false
19-
matrix:
20-
node: [12, 14, 16]
21-
2219
steps:
2320
- name: Clone repository
24-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2522

2623
- name: Set up Node.js
27-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v3
2825
with:
29-
node-version: ${{ matrix.node }}
26+
node-version: ${{ env.NODE }}
3027
cache: npm
3128

3229
- name: Install npm dependencies
@@ -40,7 +37,6 @@ jobs:
4037

4138
- name: Run Coveralls
4239
uses: coverallsapp/[email protected]
43-
if: matrix.node == 14
4440
with:
4541
github-token: "${{ secrets.GITHUB_TOKEN }}"
4642
path-to-lcov: "./js/coverage/lcov.info"

.github/workflows/lint.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ on:
55
branches-ignore:
66
- "dependabot/**"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: 2
11-
NODE: 14
12+
NODE: 16
1213

1314
jobs:
1415
lint:
1516
runs-on: ubuntu-latest
1617

1718
steps:
1819
- name: Clone repository
19-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2021

2122
- name: Set up Node.js
22-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2324
with:
2425
node-version: "${{ env.NODE }}"
2526
cache: npm

.github/workflows/node-sass.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@ on:
55
branches-ignore:
66
- "dependabot/**"
77
pull_request:
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: 2
11-
NODE: 14
12+
NODE: 16
1213

1314
jobs:
1415
css:
1516
runs-on: ubuntu-latest
1617

1718
steps:
1819
- name: Clone repository
19-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2021

2122
- name: Set up Node.js
22-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2324
with:
2425
node-version: "${{ env.NODE }}"
2526

0 commit comments

Comments
 (0)