diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 389dd0e..49db176 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,13 +9,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [8] + node-version: + - '8' + - '12' + - '22' steps: - uses: actions/checkout@v4 - - name: Setup Python 3.8 - uses: actions/setup-python@v4 - with: - python-version: '3.8' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: diff --git a/package.json b/package.json index f6b887d..8232e0c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ "license": "MIT", "devDependencies": { "mocha": "^5.2.0", - "native-hello-world": "^1.0.0", "should": "^13.2.3", "sinon": "^7.3.2", "standard": "^13.0.1" diff --git a/test/proxyquire-global.js b/test/proxyquire-global.js index 6fcd466..046e4d9 100644 --- a/test/proxyquire-global.js +++ b/test/proxyquire-global.js @@ -45,8 +45,10 @@ describe('global flags set', function () { } } - proxyquire('native-hello-world', stubs) - proxyquire('native-hello-world', stubs) + // Using 'crypto' instead of 'native-hello-world' as it's a built-in native module + // that's always available and doesn't require compilation + proxyquire('crypto', stubs) + proxyquire('crypto', stubs) }) })