Skip to content

Commit

Permalink
Merge pull request #65 from digitalservicebund/chore_update_node_vers…
Browse files Browse the repository at this point in the history
…ions_file

Chore: Use tool-versions instead of node-version
  • Loading branch information
Deeds67 authored Dec 20, 2024
2 parents 22dd2b2 + 7a4e313 commit 41af8e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
node-version-file: .tool-versions
cache: npm

- name: Cache npm dependencies
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
node-version-file: .tool-versions
cache: npm

- name: Cache npm dependencies
Expand Down
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Node.js and Homebrew

We aim to use the current active [LTS version of Node.js](https://nodejs.dev/en/about/releases/), which is V20 at the time of writing. There is a `.node-version` file to simplify setup using [nodenv](https://github.com/nodenv/nodenv) (install Node version by running `nodenv install`) or [asdf](https://github.com/asdf-vm/asdf-nodejs) (check and install used Node version by running `asdf current`).
We aim to use the current active [LTS version of Node.js](https://nodejs.dev/en/about/releases/), which is V20 at the time of writing. There is a `.tool-versions` file to simplify setup using [nodenv](https://github.com/nodenv/nodenv) (install Node version by running `nodenv install`) or [asdf](https://github.com/asdf-vm/asdf-nodejs) (check and install used Node version by running `asdf current`).

Additionally we use [Git Hooks](#git-hooks) that can be installed with [Homebrew](https://brew.sh/), please check if brew is available on your machine with `brew -v` command.

Expand Down

0 comments on commit 41af8e4

Please sign in to comment.