Skip to content

Commit

Permalink
feat: drop Node.js v14 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop Node.js v14 support
  • Loading branch information
gregberge committed May 24, 2023
1 parent c35e403 commit d7d9833
Show file tree
Hide file tree
Showing 17 changed files with 17,938 additions and 11,455 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [14, 16, 18, "latest"]
node-version: [16, 18, "latest"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
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",
headless: process.env.HEADLESS !== "false" ? "new" : 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",
headless: process.env.HEADLESS !== "false" ? "new" : false,
product: "chrome",
},
browserContext: "default",
Expand Down
2 changes: 1 addition & 1 deletion jest-puppeteer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ process.env.TEST_SERVER_PORT = port;
*/
const jestPuppeteerConfig = {
launch: {
headless: true,
headless: "new",
},
browserContext: process.env.INCOGNITO ? "incognito" : "default",
server: {
Expand Down
Loading

0 comments on commit d7d9833

Please sign in to comment.