File tree Expand file tree Collapse file tree 8 files changed +76
-35
lines changed Expand file tree Collapse file tree 8 files changed +76
-35
lines changed Original file line number Diff line number Diff line change
1
+ name : " CodeQL config"
2
+ paths-ignore :
3
+ - dist
Original file line number Diff line number Diff line change @@ -2,22 +2,27 @@ name: Bundlewatch
2
2
3
3
on :
4
4
push :
5
- branches-ignore :
6
- - " dependabot/** "
5
+ branches :
6
+ - v5
7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
10
env :
11
11
FORCE_COLOR : 2
12
- NODE : 16
12
+ NODE : 18
13
+
14
+ permissions :
15
+ contents : read
13
16
14
17
jobs :
15
18
bundlewatch :
16
19
runs-on : ubuntu-latest
17
20
18
21
steps :
19
22
- name : Clone repository
20
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
+ with :
25
+ persist-credentials : false
21
26
22
27
- name : Set up Node.js
23
28
uses : actions/setup-node@v3
35
40
run : npm run bundlewatch
36
41
env :
37
42
BUNDLEWATCH_GITHUB_TOKEN : " ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}"
38
- CI_BRANCH_BASE : main
43
+ CI_BRANCH_BASE : main
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- - dev
7
+ - v5
8
8
- " !dependabot/**"
9
9
pull_request :
10
- # The branches below must be a subset of the branches above
11
10
branches :
12
11
- main
13
- - v4-dev
12
+ - v5
14
13
- " !dependabot/**"
15
14
schedule :
16
- - cron : " 0 2 * * 5 "
15
+ - cron : " 0 2 * * 4 "
17
16
workflow_dispatch :
18
17
19
18
jobs :
20
19
analyze :
21
20
name : Analyze
22
21
runs-on : ubuntu-latest
23
22
permissions :
24
- actions : read
25
- contents : read
26
23
security-events : write
27
24
28
25
steps :
29
26
- name : Checkout repository
30
- uses : actions/checkout@v3
27
+ uses : actions/checkout@v4
28
+ with :
29
+ persist-credentials : false
31
30
32
31
- name : Initialize CodeQL
33
32
uses : github/codeql-action/init@v2
34
33
with :
34
+ config-file : ./.github/codeql/codeql-config.yml
35
35
languages : " javascript"
36
+ queries : +security-and-quality
37
+
38
+ - name : Autobuild
39
+ uses : github/codeql-action/autobuild@v2
36
40
37
41
- name : Perform CodeQL Analysis
38
42
uses : github/codeql-action/analyze@v2
43
+ with :
44
+ category : " /language:javascript"
Original file line number Diff line number Diff line change @@ -2,22 +2,27 @@ name: CSS
2
2
3
3
on :
4
4
push :
5
- branches-ignore :
6
- - " dependabot/** "
5
+ branches :
6
+ - v5
7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
10
env :
11
11
FORCE_COLOR : 2
12
- NODE : 16
12
+ NODE : 18
13
+
14
+ permissions :
15
+ contents : read
13
16
14
17
jobs :
15
18
css :
16
19
runs-on : ubuntu-latest
17
20
18
21
steps :
19
22
- name : Clone repository
20
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
+ with :
25
+ persist-credentials : false
21
26
22
27
- name : Set up Node.js
23
28
uses : actions/setup-node@v3
30
35
31
36
- name : Build CSS
32
37
run : npm run css
38
+
39
+ - name : Run CSS tests
40
+ run : npm run css-test
Original file line number Diff line number Diff line change @@ -2,22 +2,27 @@ name: Docs
2
2
3
3
on :
4
4
push :
5
- branches-ignore :
6
- - " dependabot/** "
5
+ branches :
6
+ - v5
7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
10
env :
11
11
FORCE_COLOR : 2
12
- NODE : 16
12
+ NODE : 18
13
+
14
+ permissions :
15
+ contents : read
13
16
14
17
jobs :
15
18
docs :
16
19
runs-on : ubuntu-latest
17
20
18
21
steps :
19
22
- name : Clone repository
20
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
+ with :
25
+ persist-credentials : false
21
26
22
27
- name : Set up Node.js
23
28
uses : actions/setup-node@v3
39
44
- name : Run linkinator
40
45
uses : JustinBeckwith/linkinator-action@v1
41
46
with :
42
- paths : _site
47
+ paths : _gh-pages
43
48
recurse : true
44
49
verbosity : error
45
- skip : " ^(?!http://localhost)"
50
+ skip : " ^(?!http://localhost)"
Original file line number Diff line number Diff line change @@ -2,23 +2,32 @@ name: JS Tests
2
2
3
3
on :
4
4
push :
5
- branches-ignore :
6
- - " dependabot/** "
5
+ branches :
6
+ - v5
7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
10
env :
11
11
FORCE_COLOR : 2
12
- NODE : 16
12
+ NODE : 18
13
+
14
+ permissions :
15
+ contents : read
13
16
14
17
jobs :
15
18
run :
19
+ permissions :
20
+ # allow coverallsapp/github-action to create new checks issues and fetch code
21
+ checks : write
22
+ contents : read
16
23
name : JS Tests
17
24
runs-on : ubuntu-latest
18
25
19
26
steps :
20
27
- name : Clone repository
21
- uses : actions/checkout@v3
28
+ uses : actions/checkout@v4
29
+ with :
30
+ persist-credentials : false
22
31
23
32
- name : Set up Node.js
24
33
uses : actions/setup-node@v3
36
45
run : npm run js-test
37
46
38
47
- name : Run Coveralls
39
- uses : coverallsapp/github-action@1.1.3
48
+ uses : coverallsapp/github-action@v2
40
49
with :
41
50
github-token : " ${{ secrets.GITHUB_TOKEN }}"
42
- path-to-lcov : " ./js/coverage/lcov.info"
51
+ path-to-lcov : " ./js/coverage/lcov.info"
Original file line number Diff line number Diff line change @@ -2,22 +2,27 @@ name: Lint
2
2
3
3
on :
4
4
push :
5
- branches-ignore :
6
- - " dependabot/** "
5
+ branches :
6
+ - v5
7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
10
env :
11
11
FORCE_COLOR : 2
12
- NODE : 16
12
+ NODE : 18
13
+
14
+ permissions :
15
+ contents : read
13
16
14
17
jobs :
15
18
lint :
16
19
runs-on : ubuntu-latest
17
20
18
21
steps :
19
22
- name : Clone repository
20
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
+ with :
25
+ persist-credentials : false
21
26
22
27
- name : Set up Node.js
23
28
uses : actions/setup-node@v3
29
34
run : npm ci
30
35
31
36
- name : Lint
32
- run : npm run lint
37
+ run : npm run lint
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: CSS (node-sass)
3
3
on :
4
4
push :
5
5
branches :
6
- - main
6
+ - v5
7
7
pull_request :
8
8
workflow_dispatch :
9
9
20
20
21
21
steps :
22
22
- name : Clone repository
23
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
24
24
with :
25
25
persist-credentials : false
26
26
You can’t perform that action at this time.
0 commit comments