Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
fix(test10): test10
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-sanders-cc committed Apr 6, 2024
1 parent 9f4b135 commit ed4605e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/nix-flake-update-node-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ on:
push:
branches:
- 'release-please--branches--master--components--clever-tools'
paths:
- 'package.json'
# paths:
# - 'package.json'
jobs:
check-node-version:
get-node-version:
runs-on: ubuntu-latest
outputs:
NODE_VERSION: ${{ steps.output_node_version.outputs.NODE_VERSION }}
Expand All @@ -23,4 +23,10 @@ jobs:
run: echo "NODE_VERSION=${{ fromJSON(steps.get_package_json_content.outputs.PACKAGE_JSON_CONTENT).volta.node }}" >> $GITHUB_OUTPUT
- name: output node version
id: output_node_version
run: echo ${{ steps.extract_node_version.outputs.NODE_VERSION }}
run: echo "$(${{ steps.extract_node_version.outputs.NODE_VERSION }} | sed 's/\..\+//g')"
update-nix-flake-node-version:
runs-on: ubuntu-latest
needs: get-node-version
steps:
- name: replace nix flake node version
run: sed -i "s/\+/${{ steps.escape.outputs.NPM_DEPS_HASH_ESCAPED }}/" flake.nix

0 comments on commit ed4605e

Please sign in to comment.