ci: use .nvmrc for node-setup node-version in github actions (#10619)

* chore: add node version pinning with .nvmrc and volta for the typescript sdk

* ci: add missing setup-node actions and use .nvmrc for setup-node node-version
This commit is contained in:
Zack Pollard
2024-06-25 16:01:15 +03:00
committed by GitHub
parent b5b0c6fe8b
commit 5912fcc393
6 changed files with 35 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version-file: './cli/.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Prepare SDK
run: npm ci --prefix ../open-api/typescript-sdk/