From 0d5409c08a345ab74c87c3b2d5e41d3f779bb326 Mon Sep 17 00:00:00 2001 From: Paul Robert Lloyd Date: Sun, 25 Aug 2024 11:43:35 +0100 Subject: [PATCH] ci: update build workflow --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c5a4c858b..1ad8f64d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,9 +18,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [20.x] + node-version: [22.x] mongodb-version: [4] steps: + - name: Remove temporary files + run: sudo rm -rf /tmp/* + - name: Remove hosted tool cache + run: sudo rm -rf /opt/hostedtoolcache - name: Git checkout uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} @@ -29,7 +33,7 @@ jobs: node-version: ${{ matrix.node-version }} cache: "npm" - name: Start MongoDB - uses: supercharge/mongodb-github-action@1.10.0 + uses: supercharge/mongodb-github-action@1.11.0 with: mongodb-version: ${{ matrix.mongodb-version }} - name: Download localisations