diff --git a/.github/workflows/run-test-and-deploy.yml b/.github/workflows/run-test-and-deploy.yml index 3875556..7bfb616 100644 --- a/.github/workflows/run-test-and-deploy.yml +++ b/.github/workflows/run-test-and-deploy.yml @@ -41,10 +41,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 16.x + - name: Use desired version of Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version-file: '.nvmrc' - name: Npm install and build run: | @@ -80,10 +80,10 @@ jobs: - name: Checkout uses: actions/checkout@main - - name: Use Node.js 16.x + - name: Use desired version of Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version-file: '.nvmrc' - name: Npm install and build run: | diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index 165e2da..1083db5 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -44,10 +44,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Use Node.js 16.x + - name: Use desired version of Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version-file: '.nvmrc' - name: Npm install and build run: | diff --git a/.nvmrc b/.nvmrc index b6a7d89..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +20 diff --git a/package.json b/package.json index a5c9adc..d7f0369 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,12 @@ "url": "https://github.com/t-hamano/piano-block/issues" }, "engines": { - "node": ">=16.0.0", - "npm": ">=8.0.0" + "node": ">=20.0.0", + "npm": ">=10.0.0" }, "volta": { - "node": "16.18.0", - "npm": "8.19.2" + "node": "20.11.1", + "npm": "10.5.0" }, "dependencies": { "tone": "^14.7.77"