From 6dbd2b41c462c2aa1bb79d59f5448c6e80d205b3 Mon Sep 17 00:00:00 2001 From: fisker Date: Sat, 7 Jun 2025 17:59:30 +0800 Subject: [PATCH] Run tests on Node.js v22 & v24 --- .github/workflows/nodejs.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 256a26764..35ef89556 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,8 +17,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: cache: "yarn" - run: yarn install --frozen-lockfile @@ -30,16 +30,16 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - node-version: [16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x, 22.x, 24.x] env: ENABLE_COVERAGE: true AST_COMPARE: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "yarn" @@ -47,7 +47,8 @@ jobs: - run: yarn c8 yarn test:node - uses: codecov/codecov-action@v5 with: - token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true + disable_search: true files: coverage/lcov.info + token: ${{ secrets.CODECOV_TOKEN }} - run: yarn test:standalone