Skip to content

Commit 0594211

Browse files
committed
ci(deploy): use .nvmrc to retrieve version for Node.js
1 parent 1a832a3 commit 0594211

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,18 @@ jobs:
3636
needs: changed-files
3737
runs-on: ubuntu-22.04
3838
if: needs.changed-files.outputs.files != 'true'
39-
strategy:
40-
matrix:
41-
node-version: [20.17.0]
4239
steps:
4340
- name: Checkout repo
4441
uses: actions/checkout@v4
4542

4643
- name: Set up Pnpm
4744
uses: pnpm/action-setup@v4
4845

49-
- name: Set up Node.js ${{ matrix.node-version }}
46+
- name: Set up Node.js
5047
uses: actions/setup-node@v4
5148
with:
52-
node-version: ${{ matrix.node-version }}
53-
cache: "pnpm"
49+
node-version-file: .nvmrc
50+
cache: pnpm
5451

5552
- name: Install dependencies
5653
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)