From 02fe2c76cb193e0294caa692d16aefe044780ae6 Mon Sep 17 00:00:00 2001 From: Shaun Hamilton Date: Wed, 11 Jun 2025 10:19:45 +0000 Subject: [PATCH 1/2] chore: update node, nvm, and mongodb tools --- base/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/base/Dockerfile b/base/Dockerfile index a9d6cba..90fe12f 100644 --- a/base/Dockerfile +++ b/base/Dockerfile @@ -5,12 +5,12 @@ USER gitpod # Dazzle does not rebuild a layer until one of its lines are changed. Increase this counter to rebuild this layer. ENV TRIGGER_REBUILD=1 -ARG MONGOSH_VERSION=1.8.0 -ARG MONGODB_VERSION=6.0.4 +ARG MONGOSH_VERSION=2.5.2 +ARG MONGODB_VERSION=8.0.10 ARG UBUNTU_VERSION=ubuntu2204 -ARG NODE_VERSION=18 -ARG NVM_VERSION=0.39.3 -ARG PNPM_VERSION=8 +ARG NODE_VERSION=22 +ARG NVM_VERSION=0.40.3 +ARG PNPM_VERSION=10 RUN echo "Installing MongoDB $MONGODB_VERSION and MongoSH $MONGOSH_VERSION" From 1fa741deef4e03946b7913d179bf8f63955c5bf2 Mon Sep 17 00:00:00 2001 From: Shaun Hamilton Date: Wed, 11 Jun 2025 10:20:00 +0000 Subject: [PATCH 2/2] chore: update workflow actions --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0359492..6a86273 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Validate HEAD Commit - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - run: | npm i npx commitlint --from HEAD~1 --to HEAD --verbose @@ -29,19 +29,19 @@ jobs: if: ${{ contains(fromJSON('["!:", "BREAKING CHANGE:", "patch", "minor", "major"]'), github.event.head_commit.message) || !(startsWith('chore', github.event.head_commit.message) || startsWith('refactor', github.event.head_commit.message) || startsWith('docs', github.event.head_commit.message)) }} steps: - name: Checkout - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 + uses: actions/checkout@v4 - name: Login to GHCR - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Tag Version - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 - run: | npm i NEW_VERSION=$(node scripts/version.js "$COMMIT_MESSAGE")