Skip to content

Commit

Permalink
Drop Node v16, add Node v22 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina authored Aug 25, 2024
1 parent d430839 commit 695301e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@ jobs:
contents: read
strategy:
matrix:
node-version: [16, 18, 20]
node-version: [18, 20, 22]
os: [macos-latest, ubuntu-latest, windows-latest]
exclude:
- node-version: 14
os: windows-latest

steps:
- name: Check out repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion test/base.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ test('broken json', ({ match, same, plan }) => {
const stream = build(function (source) {
source.on('unknown', function (line, error) {
same(expected, line)
const regex = /^(Unexpected end of JSON input|Unterminated string in JSON at position 12)$/
const regex = /^(Unexpected end of JSON input|Unterminated string in JSON at position 12)( \(line 1 column 13\))?$/
match(error.message, regex)
})
})
Expand Down

0 comments on commit 695301e

Please sign in to comment.