File tree Expand file tree Collapse file tree 8 files changed +2286
-8099
lines changed Expand file tree Collapse file tree 8 files changed +2286
-8099
lines changed Original file line number Diff line number Diff line change 3
3
on :
4
4
push :
5
5
branches :
6
- - " **"
7
- - " !dependabot/**"
6
+ - " main"
8
7
pull_request :
9
8
workflow_dispatch :
10
9
@@ -23,16 +22,16 @@ jobs:
23
22
fail-fast : false
24
23
matrix :
25
24
os : [ubuntu-latest, windows-latest]
26
- node : [14, 16, 18, 20]
25
+ node : [18, 20]
27
26
28
27
steps :
29
28
- name : Clone repository
30
- uses : actions/checkout@v3
29
+ uses : actions/checkout@v4
31
30
with :
32
31
persist-credentials : false
33
32
34
33
- name : Set up Node.js
35
- uses : actions/setup-node@v3
34
+ uses : actions/setup-node@v4
36
35
with :
37
36
node-version : ${{ matrix.node }}
38
37
cache : npm
Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- main
7
- - " !dependabot/**"
8
7
pull_request :
9
8
branches :
10
9
- main
11
- - " !dependabot/**"
12
10
schedule :
13
11
- cron : " 0 0 * * 0"
14
12
workflow_dispatch :
@@ -24,21 +22,21 @@ jobs:
24
22
25
23
steps :
26
24
- name : Clone repository
27
- uses : actions/checkout@v3
25
+ uses : actions/checkout@v4
28
26
with :
29
27
persist-credentials : false
30
28
31
29
- name : Initialize CodeQL
32
- uses : github/codeql-action/init@v2
30
+ uses : github/codeql-action/init@v3
33
31
with :
34
32
config-file : ./.github/codeql/codeql-config.yml
35
33
languages : " javascript"
36
34
queries : +security-and-quality
37
35
38
36
- name : Autobuild
39
- uses : github/codeql-action/autobuild@v2
37
+ uses : github/codeql-action/autobuild@v3
40
38
41
39
- name : Perform CodeQL Analysis
42
- uses : github/codeql-action/analyze@v2
40
+ uses : github/codeql-action/analyze@v3
43
41
with :
44
42
category : " /language:javascript"
Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ name: Lint
3
3
on :
4
4
push :
5
5
branches :
6
- - " **"
7
- - " !dependabot/**"
6
+ - " main"
8
7
pull_request :
9
8
workflow_dispatch :
10
9
11
10
env :
12
11
FORCE_COLOR : 2
13
- NODE : 18
12
+ NODE : 20
14
13
15
14
permissions :
16
15
contents : read
@@ -21,12 +20,12 @@ jobs:
21
20
22
21
steps :
23
22
- name : Clone repository
24
- uses : actions/checkout@v3
23
+ uses : actions/checkout@v4
25
24
with :
26
25
persist-credentials : false
27
26
28
27
- name : Set up Node.js
29
- uses : actions/setup-node@v3
28
+ uses : actions/setup-node@v4
30
29
with :
31
30
node-version : ${{ env.NODE }}
32
31
cache : npm
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
'use strict' ;
4
4
5
- const program = require ( 'commander' ) ;
5
+ const { program } = require ( 'commander' ) ;
6
6
const dependencyTree = require ( '../index.js' ) ;
7
7
const { name, description, version } = require ( '../package.json' ) ;
8
8
You can’t perform that action at this time.
0 commit comments