File tree 5 files changed +10
-9
lines changed
5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ const localConfigs = readdir(__dirname)
7
7
. map ( ( file ) => `./${ file } ` )
8
8
9
9
module . exports = {
10
+ root : true ,
10
11
extends : [
11
12
'@npmcli' ,
12
13
...localConfigs ,
Original file line number Diff line number Diff line change 23
23
- name : Update npm to latest
24
24
run : npm i --prefer-online --no-fund --no-audit -g npm@latest
25
25
- run : npm -v
26
- - run : npm i --ignore-scripts --package-lock
26
+ - run : npm i --ignore-scripts --no-audit --no-fund -- package-lock
27
27
- run : npm audit
Original file line number Diff line number Diff line change 30
30
- name : Update npm to latest
31
31
run : npm i --prefer-online --no-fund --no-audit -g npm@latest
32
32
- run : npm -v
33
- - run : npm i --ignore-scripts
33
+ - run : npm i --ignore-scripts --no-audit --no-fund
34
34
- run : npm run lint
35
35
36
36
test :
82
82
if : ${{ !startsWith(matrix.node-version, '10.') }}
83
83
run : npm i --prefer-online --no-fund --no-audit -g npm@latest
84
84
- run : npm -v
85
- - run : npm i --ignore-scripts
85
+ - run : npm i --ignore-scripts --no-audit --no-fund
86
86
- run : npm test --ignore-scripts
Original file line number Diff line number Diff line change @@ -4,13 +4,12 @@ name: Post Dependabot Actions
4
4
5
5
on : pull_request
6
6
7
- # https://docs.github.com/en/rest/overview/permissions-required -for-github-apps
7
+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax -for-github-actions#permissions
8
8
permissions :
9
- actions : write
10
9
contents : write
11
10
12
11
jobs :
13
- Install :
12
+ template-oss-apply :
14
13
runs-on : ubuntu-latest
15
14
if : github.actor == 'dependabot[bot]'
16
15
steps :
36
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
36
run : |
38
37
gh pr checkout ${{ github.event.pull_request.number }}
39
- npm install --ignore-scripts
38
+ npm install --ignore-scripts --no-audit --no-fund
40
39
npm run template-oss-apply
41
40
git add .
42
41
git commit -am "chore: postinstall for dependabot template-oss PR"
43
42
git push
43
+ npm run lint
Original file line number Diff line number Diff line change 44
44
},
45
45
"devDependencies" : {
46
46
"@npmcli/eslint-config" : " ^3.0.1" ,
47
- "@npmcli/template-oss" : " 3.2.0 " ,
47
+ "@npmcli/template-oss" : " 3.3.2 " ,
48
48
"cacache" : " ^16.0.2" ,
49
49
"nock" : " ^13.2.4" ,
50
50
"require-inject" : " ^1.4.4" ,
60
60
},
61
61
"templateOSS" : {
62
62
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
63
- "version" : " 3.2.0 "
63
+ "version" : " 3.3.2 "
64
64
}
65
65
}
You can’t perform that action at this time.
0 commit comments