Skip to content

Commit

Permalink
Update to [email protected] and [email protected] and fix test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
novemberborn committed Aug 25, 2022
1 parent 98f7d6e commit 7c48c4d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Upgrade npm
run: npm install --global npm@^8.12
run: npm install --global npm@^8.18
- run: npm install --no-audit
- run: npm run cover
- uses: codecov/codecov-action@v2
Expand All @@ -50,7 +50,7 @@ jobs:
node-version: ^18
cache: npm
- name: Upgrade npm
run: npm install --global npm@^8.12
run: npm install --global npm@^8.18
- run: npm install --no-audit
- run: npm i typescript@${TS_VERSION}
env:
Expand All @@ -69,7 +69,7 @@ jobs:
node-version: ^18
cache: npm
- name: Upgrade npm
run: if [[ "$(npm -v)" != "8.12.0" ]]; then npm install --global npm@8.12.0; fi
run: if [[ "$(npm -v)" != "8.18.0" ]]; then npm install --global npm@8.18.0; fi
- run: npm install --no-audit
- name: Test package-lock for unexpected modifications
run: |
Expand All @@ -90,7 +90,7 @@ jobs:
with:
node-version: ^18
- name: Upgrade npm
run: npm install --global npm@^8.12
run: npm install --global npm@^8.18
- run: npm install --no-package-lock --no-audit
- run: npm run cover

Expand All @@ -104,6 +104,6 @@ jobs:
node-version: ^18
cache: npm
- name: Upgrade npm
run: npm install --global npm@^8.12
run: npm install --global npm@^8.18
- run: npm install --no-audit
- run: npx xo
1 change: 1 addition & 0 deletions .xo-config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ module.exports = {
{
files: 'examples/**',
rules: {
'ava/no-ignored-test-files': 'off',
'ava/no-only-test': 'off',
'unicorn/prefer-module': 'off',
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
}
},
"volta": {
"node": "18.3.0",
"npm": "8.12.0"
"node": "18.8.0",
"npm": "8.18.0"
}
}
4 changes: 4 additions & 0 deletions test-tap/reporters/default.edgecases.v18.log
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
---tty-stream-chunk-separator
Uncaught exception in ast-syntax-error.cjs

~/test-tap/fixture/report/edgecases/ast-syntax-error.cjs:3
const fn = do {
^^

SyntaxError: Unexpected token 'do'

---tty-stream-chunk-separator
Expand Down
6 changes: 5 additions & 1 deletion test-tap/reporters/tap.edgecases.v18.log
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
TAP version 13
---tty-stream-chunk-separator
not ok 1 - SyntaxError: Unexpected token 'do'
not ok 1 - ~/test-tap/fixture/report/edgecases/ast-syntax-error.cjs:3
const fn = do {
^^

SyntaxError: Unexpected token 'do'
---
name: SyntaxError
message: Unexpected token 'do'
Expand Down

0 comments on commit 7c48c4d

Please sign in to comment.