File tree 4 files changed +7
-8
lines changed
4 files changed +7
-8
lines changed 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 :
81
81
if : ${{ !startsWith(matrix.node-version, '10.') }}
82
82
run : npm i --prefer-online --no-fund --no-audit -g npm@latest
83
83
- run : npm -v
84
- - run : npm i --ignore-scripts
84
+ - run : npm i --ignore-scripts --no-audit --no-fund
85
85
- 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"
Original file line number Diff line number Diff line change 52
52
"author" : " GitHub Inc." ,
53
53
"templateOSS" : {
54
54
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
55
- "version" : " 3.2 .2" ,
55
+ "version" : " 3.3 .2" ,
56
56
"engines" : " >=10" ,
57
57
"ciVersions" : [
58
58
" 10.0.0" ,
You can’t perform that action at this time.
0 commit comments