Skip to content

Commit

Permalink
feat: add Puppeteer v22 compatibility (#576)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

Drop Node.js v16 support.
  • Loading branch information
colinrotherham committed Feb 10, 2024
1 parent e6ef61b commit 6d7a02f
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 94 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18, "latest"]
node-version: [18, 20, "latest"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -92,7 +92,7 @@ After installing Argos, learn how to [review visual changes](https://argos-ci.co
module.exports = {
launch: {
dumpio: true,
headless: process.env.HEADLESS !== "false" ? "new" : false,
headless: process.env.HEADLESS !== "false",
},
server: {
command: "node server.js",
Expand Down Expand Up @@ -213,7 +213,7 @@ Default config values:
module.exports = {
launch: {
dumpio: true,
headless: process.env.HEADLESS !== "false" ? "new" : false,
headless: process.env.HEADLESS !== "false",
product: "chrome",
},
browserContext: "default",
Expand Down

0 comments on commit 6d7a02f

Please sign in to comment.