Skip to content

Commit f398939

Browse files
committed
update puppeteer
1 parent 631a742 commit f398939

File tree

5 files changed

+245
-113
lines changed

5 files changed

+245
-113
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ jobs:
238238
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@359350bbc10aab1bac85d0eec61a53377078ab82
239239
with:
240240
cache-node-modules: true
241+
# See: https://github.com/puppeteer/puppeteer/pull/13196 and
242+
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md.
243+
- name: Disable AppArmor
244+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
241245
- name: Setup Bazel
242246
uses: angular/dev-infra/github-actions/bazel/setup@359350bbc10aab1bac85d0eec61a53377078ab82
243247
- name: Setup Bazel RBE

.github/workflows/pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@359350bbc10aab1bac85d0eec61a53377078ab82
2323
with:
2424
cache-node-modules: true
25+
# See: https://github.com/puppeteer/puppeteer/pull/13196 and
26+
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md.
27+
- name: Disable AppArmor
28+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
2529
- name: Setup Bazel
2630
uses: angular/dev-infra/github-actions/bazel/setup@359350bbc10aab1bac85d0eec61a53377078ab82
2731
- name: Setup Bazel RBE

.github/workflows/scheduled-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@359350bbc10aab1bac85d0eec61a53377078ab82
7575
with:
7676
cache-node-modules: true
77+
# See: https://github.com/puppeteer/puppeteer/pull/13196 and
78+
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md.
79+
- name: Disable AppArmor
80+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
7781
- name: Install node modules
7882
run: yarn install --frozen-lockfile
7983
- name: Check Docs Site

material.angular.io/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"lighthouse-logger": "~1.2.0",
9797
"npm-run-all": "^4.1.5",
9898
"protractor": "^7.0.0",
99-
"puppeteer": "~21.1.0",
99+
"puppeteer": "^24.1.0",
100100
"sass": "^1.70.0",
101101
"shelljs": "^0.8.4",
102102
"ts-node": "^8.10.2",

0 commit comments

Comments
 (0)