From 31fc8dd677350368d3925b99226d470f9e03c123 Mon Sep 17 00:00:00 2001 From: Florian Sanders Date: Sat, 6 Apr 2024 18:37:53 +0200 Subject: [PATCH] fix(test upd): node --- .../workflows/nix-flake-update-node-version.yml | 15 +++++++++------ package.json | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nix-flake-update-node-version.yml b/.github/workflows/nix-flake-update-node-version.yml index a04408d..931f15d 100644 --- a/.github/workflows/nix-flake-update-node-version.yml +++ b/.github/workflows/nix-flake-update-node-version.yml @@ -3,8 +3,8 @@ on: push: branches: - 'release-please--branches--master--components--clever-tools' - # paths: - # - 'package.json' + paths: + - 'package.json' jobs: get-major-node-version: runs-on: ubuntu-latest @@ -33,9 +33,12 @@ jobs: steps: - uses: actions/checkout@v4 - name: replace nix flake node version - run: | - echo ${{ needs.get_major_node_version.outputs.handle }} - echo ${{ needs.get_major_node_version.outputs.nodeVersion }} - sed -r -i "s/(nodejs-.._x)/nodejs-${{ needs.get-major-node-version.outputs.nodeVersion }}_x/gm" flake.nix + run: sed -r -i "s/(nodejs-.._x)/nodejs-${{ needs.get-major-node-version.outputs.nodeVersion }}_x/gm" flake.nix - name: run git status run: git status + - run: | + git config --global user.name 'Florian Sanders' + git config --global user.email 'florian.sanders@clever-cloud.com' + git status + git commit -m "chore(flake): update node version" + git push diff --git a/package.json b/package.json index 20197bc..b4b8070 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,6 @@ ] }, "volta": { - "node": "19.15.4" + "node": "20.15.4" } }