File tree Expand file tree Collapse file tree 4 files changed +27
-17
lines changed Expand file tree Collapse file tree 4 files changed +27
-17
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: CI
2
2
on :
3
3
- push
4
4
- pull_request
5
+ permissions :
6
+ contents : read
7
+ concurrency :
8
+ group : ${{ github.workflow }}-${{ github.ref }}
9
+ cancel-in-progress : true
5
10
jobs :
6
11
test :
7
12
name : Node.js ${{ matrix.node-version }}
19
24
node-version : ${{ matrix.node-version }}
20
25
- run : npm install
21
26
- run : npm test
27
+ test-update :
28
+ name : Update script (${{ matrix.os }})
29
+ runs-on : ${{ matrix.os }}
30
+ strategy :
31
+ fail-fast : false
32
+ matrix :
33
+ os :
34
+ - ubuntu-latest
35
+ - macos-latest
36
+ - windows-latest
37
+ steps :
38
+ - uses : actions/checkout@v4
39
+ - uses : actions/setup-node@v4
40
+ with :
41
+ check-latest : true
42
+ node-version : latest
43
+ - run : npm install
44
+ # https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
45
+ - run : echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
46
+ if : matrix.os == 'ubuntu-latest'
47
+ - run : npm run update --dry
Original file line number Diff line number Diff line change 39
39
check-latest : true
40
40
node-version : latest
41
41
- run : npm install
42
- # https://github.com/puppeteer/puppeteer/issues/13853
43
- - run : npx patch-package
44
42
- uses : actions/download-artifact@v4
45
43
with :
46
44
name : data
Original file line number Diff line number Diff line change 54
54
"nano-spawn" : " ^0.2.0" ,
55
55
"npm-run-all2" : " ^8.0.1" ,
56
56
"outdent" : " ^0.8.0" ,
57
- "patch-package" : " ^8.0.0" ,
58
- "puppeteer" : " ^24.8.1" ,
57
+ "puppeteer" : " ^24.8.2" ,
59
58
"shelljs" : " ^0.9.2" ,
60
59
"tsd" : " ^0.32.0" ,
61
60
"type-fest" : " ^4.41.0" ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments