Skip to content

Commit

Permalink
Replace .node-version with asdf-managed .tool-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hakatashi committed Nov 26, 2024
1 parent b43a695 commit f9fb58b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup Tools
uses: asdf-vm/actions/install@v3

- name: Install Dependencies
run: npm install
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup Tools
uses: asdf-vm/actions/install@v3

- name: Before Install
run: |
Expand Down Expand Up @@ -57,11 +55,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-07-23
default: true
override: true
- name: Setup Tools
uses: asdf-vm/actions/install@v3

- name: build
run: cargo build --all --verbose
Expand Down
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 20.18.1
rust nightly-2022-07-23
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:coverage": "npm run test -- --coverage"
},
"engines": {
"node": ">=16.10.0"
"node": "^20.18.1"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit f9fb58b

Please sign in to comment.