diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..0036709 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,25 @@ +version: 2 +updates: + # Enable version updates for npm + - package-ecosystem: "npm" + # Look for `package.json` and `lock` files in the `root` directory + directory: "/" + # Check the npm registry for updates every day (weekdays) + schedule: + interval: "weekly" + + # Enable version updates for Docker + - package-ecosystem: "docker" + # Look for a `Dockerfile` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" + + # Enable version updates for Docker Compose + - package-ecosystem: "docker-compose" + # Look for a `Dockerfile` in the `root` directory + directory: "/" + # Check for updates once a week + schedule: + interval: "weekly" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 25cf15b..e40fcb1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -52,10 +52,10 @@ jobs: contents: read steps: - uses: actions/checkout@v4 - - name: Use Node.js 22.x + - name: Use Node.js 24.x uses: actions/setup-node@v4 with: - node-version: '22.x' + node-version: '24.x' - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 # More information on this action can be found below in the 'AWS Credentials' section with: @@ -75,4 +75,4 @@ jobs: working-directory: 'infra' run: | npm install - cdk deploy IAStack --parameters "imageTag=sha-${{ github.sha }}" --require-approval never \ No newline at end of file + cdk deploy IAStack --parameters "imageTag=sha-${{ github.sha }}" --require-approval never diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 024652a..84d2523 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: ['20.x', '22.x'] + node-version: ['22.x', '24.x'] services: # Label used to access the service container mongo: @@ -43,10 +43,10 @@ jobs: if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v4 - - name: Use Node.js 22.x + - name: Use Node.js 24.x uses: actions/setup-node@v4 with: - node-version: 22.x + node-version: 24.x - name: Install Dependencies working-directory: ./infra run: npm i