diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b168e750..7df0adff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,22 +10,21 @@ jobs: name: Unit tests runs-on: ubuntu-latest strategy: + fail-fast: false matrix: node: - - 14 - 16 - - 18 - 20 serverless: - - "2.36.0" - "2" - - "latest" + - "3" + - "4" steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package.json') }} @@ -42,11 +41,11 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 - - uses: actions/cache@v2 + node-version: 20 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} @@ -57,11 +56,11 @@ jobs: name: Type runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 - - uses: actions/cache@v2 + node-version: 20 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} diff --git a/package.json b/package.json index 45d2b11d..35a1b59e 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "typescript": "^4.3.4" }, "engines": { - "node": ">=14.15.0 <21" + "node": ">=14.15.0" }, "files": [ "/dist" @@ -83,6 +83,6 @@ }, "types": "dist/src/plugin.d.ts", "peerDependencies": { - "serverless": "^2.36.0 || ^3" + "serverless": "^2.36.0 || ^3 || ^4" } }