mirror of
https://github.com/immich-app/immich.git
synced 2025-12-25 09:14:58 +03:00
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:
2
.github/workflows/cli.yml
vendored
2
.github/workflows/cli.yml
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user