diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index dae4ae2..bae2c79 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -12,16 +12,25 @@ jobs: # The type of runner that the job will run on runs-on: ubuntu-latest + # Strategy to run the job on multiple Node.js versions + strategy: + matrix: + node-version: [20, 22, 24] + # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE - uses: actions/checkout@v3 + + # Sets up the Node.js version specified in the matrix - uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: ${{ matrix.node-version }} + # Installs all dependencies - name: Install Dependencies 📌 run: npm ci + # Runs test cases - name: Run Test Cases 🔧 run: npm run test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 04cd292..879fbbf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' - name: Configure CI Git User run: | git config --global user.name $CONFIG_USERNAME diff --git a/package-lock.json b/package-lock.json index f4c611e..889114f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "loopback4-s3", - "version": "9.0.2", + "version": "9.0.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "loopback4-s3", - "version": "9.0.2", + "version": "9.0.3", "license": "MIT", "dependencies": { "@aws-sdk/client-s3": "^3.657.0", diff --git a/package.json b/package.json index c4a37f5..a0ef98d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "main": "index.js", "engines": { - "node": ">=18" + "node": ">=20" }, "scripts": { "build": "npm run clean && lb-tsc",