diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 98de563..795413f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -14,18 +14,18 @@ jobs: CI: true steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - uses: pnpm/action-setup@v2 name: Install pnpm id: pnpm-install with: - version: 7 + version: 8 run_install: false - name: Get pnpm Store Directory @@ -34,7 +34,7 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm Cache with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} @@ -55,15 +55,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [14, 16, 18] + node: [16, 18, 20, 21] env: CI: true steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -71,7 +71,7 @@ jobs: name: Install pnpm id: pnpm-install with: - version: 7 + version: 8 run_install: false - name: Get pnpm Store Directory @@ -80,7 +80,7 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm Cache with: path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} @@ -95,7 +95,7 @@ jobs: run: pnpm test - name: Upload Code Coverage Results - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: file: ./coverage/coverage-final.json fail_ci_if_error: true diff --git a/package.json b/package.json index 4afee14..9ebef0c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "types": "./dist/index.d.ts", "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=16.0.0" }, "keywords": [ "next",