From 2fa30b38eea8c7825636df172c3bda129c5c882b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 27 Aug 2023 15:34:32 +0900 Subject: [PATCH] ci: Update versions of test dependencies --- .github/workflows/main.yml | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3680986..941adba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ jobs: strategy: fail-fast: false matrix: - node-version: [14, 16, 18] - os: [ubuntu-20.04, windows-2019, macos-11] + node-version: [16, 18, 20] + os: [ubuntu-22.04, windows-2022, macos-13] steps: - uses: actions/setup-node@v3 @@ -26,8 +26,8 @@ jobs: - name: Test run: | - yarn - yarn test + npm install + npm run test lint: runs-on: ubuntu-latest diff --git a/package.json b/package.json index 8480b1b..511255a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "pretest": "node-gyp rebuild --debug -C test", "lint": "cpplint --recursive --filter=-build/include_what_you_use src test", - "test": "node --expose-gc test", + "test": "node --expose-gc test/index.js", "test:incremental": "node-gyp build --debug -C test && node --expose-gc test" }, "readme": "README.md",