diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 582f39e2d..eaf5f7613 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,13 +14,13 @@ jobs: node-versoin: 22 - os: ubuntu-latest timezone: Etc/GMT + node-version: 20 + - os: ubuntu-latest + timezone: Asia/Shanghai + node-version: 18 + - os: ubuntu-latest + timezone: Asia/Shanghai node-version: 16 - - os: ubuntu-latest - timezone: Asia/Shanghai - node-version: 15 - - os: ubuntu-latest - timezone: Asia/Shanghai - node-version: 14 runs-on: ${{ matrix.os }} steps: - name: Checkout @@ -44,7 +44,7 @@ jobs: uses: actions/upload-artifact@v4 if: failure() with: - name: test-npm-logs-${{ matrix.os }}-${{ replace(matrix.timezone, '/', '_') }}-${{ matrix.node-version }} + name: test-npm-logs-${{ matrix.os }}-${{ matrix.node-version }} path: ~/.npm/_logs demo: name: Demo Check diff --git a/package.json b/package.json index d64bcc8ef..c02b0ffcb 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "types": "dist/index.d.ts", "engines": { - "node": ">=14" + "node": ">=16" }, "scripts": { "lint": "eslint \"**/*.mjs\" \"**/*.ts\" .",