Skip to content

Commit

Permalink
feat!: update min version to Node 18 (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Feb 2, 2024
1 parent adffbeb commit 41c3d10
Show file tree
Hide file tree
Showing 7 changed files with 310 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# https://github.com/actions/virtual-environments#available-environments
os: [ubuntu-latest, macos-latest, windows-latest]
# https://github.com/nodejs/Release#release-schedule
node: [16, 18, 20]
node: [18, 20]
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.0.0
Expand Down
12 changes: 4 additions & 8 deletions examples/chrome-extension-replay/Replay.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,11 @@ async function main() {
});

// Emulating replay
document.querySelector(
'#recording'
).innerHTML = `Running ${recording.title}<br>`;
document.querySelector('#recording').innerHTML =
`Running ${recording.title}<br>`;
for (let i = 0; i < recording.steps.length; i++) {
document.querySelector(
'#recording'
).innerHTML += `Running step ${i}: ${JSON.stringify(
recording.steps[i]
)}<br>`;
document.querySelector('#recording').innerHTML +=
`Running step ${i}: ${JSON.stringify(recording.steps[i])}<br>`;
await new Promise((resolve) => setTimeout(resolve, 1000));
}
}

0 comments on commit 41c3d10

Please sign in to comment.