Skip to content

Commit

Permalink
Update dependencies & other minor tweaks
Browse files Browse the repository at this point in the history
* Update dependencies

* Ignore snapshot fixture due to churn

* Remove errant log

* Update GHA actions

* Test type definition with TS 5.3

* Select latest LTS in Volta

* Remove unnecessary npx invocation

* Rebuild lockfile

* Work around legacy tap-based tests choking on our tsconfig.json

No idea why it's even resolving the config when there are no TypeScript tests to run.
  • Loading branch information
novemberborn committed Dec 4, 2023
1 parent cac1d1f commit 88e4333
Show file tree
Hide file tree
Showing 11 changed files with 543 additions and 416 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Expand Up @@ -18,13 +18,13 @@ jobs:
node-version: [^18.18, ^20.8, ^21]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Enable symlinks
if: matrix.os == 'windows-latest'
run: |
git config core.symlinks true
git reset --hard
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand All @@ -41,10 +41,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ts-version: [~5.2]
ts-version: [~5.2, ~5.3]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
Expand All @@ -59,8 +59,8 @@ jobs:
name: Test package-lock for unexpected modifications
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
Expand All @@ -79,8 +79,8 @@ jobs:
name: Install dependencies without using a lockfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
- run: npm install --no-package-lock --no-audit
Expand All @@ -91,8 +91,8 @@ jobs:
name: Lint source files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
Expand Down
9 changes: 5 additions & 4 deletions .taprc
@@ -1,7 +1,8 @@
disable-coverage: true
allow-empty-coverage: true
files:
- "test-tap/*.js"
- "test-tap/reporters/*.js"
- "test-tap/integration/*.js"
include:
- test-tap/*.js
- test-tap/reporters/*.js
- test-tap/integration/*.js
timeout: 300
tsconfig: test-tap/tsconfig.json
1 change: 1 addition & 0 deletions .xo-config.cjs
Expand Up @@ -12,6 +12,7 @@ module.exports = {
'test/**/fixtures',
'test-tap/fixture/snapshots/test-sourcemaps/build/**',
'test-tap/fixture/report/edgecases/ast-syntax-error.cjs',
'test-tap/fixture/**/*.ts',
'test-types',
'examples/typescript-*/**/*.ts',
],
Expand Down
2 changes: 1 addition & 1 deletion lib/cli.js
Expand Up @@ -6,7 +6,7 @@ import v8 from 'node:v8';
import arrify from 'arrify';
import figures from 'figures';
import yargs from 'yargs';
import {hideBin} from 'yargs/helpers'; // eslint-disable-line n/file-extension-in-import
import {hideBin} from 'yargs/helpers';

import {asyncEventIteratorFromApi} from './api-event-iterator.js';
import Api from './api.js';
Expand Down

0 comments on commit 88e4333

Please sign in to comment.