diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index 4bda84d08..c2c307b69 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -46,9 +46,9 @@ jobs: run: chmod +x ./gradlew - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 22 + node-version-file: .nvmrc - name: Set npm version run: npm install -g npm@10 diff --git a/.github/workflows/build-electron.yml b/.github/workflows/build-electron.yml index 29953d398..c1932f333 100644 --- a/.github/workflows/build-electron.yml +++ b/.github/workflows/build-electron.yml @@ -50,9 +50,9 @@ jobs: echo "VERSION=v$VERSION" >> $GITHUB_OUTPUT - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 22 + node-version-file: .nvmrc - name: Set npm version run: npm install -g npm@10 diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index df62d4d21..4fff9a807 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -31,9 +31,9 @@ jobs: run: xcodebuild -version - name: Install Node.js, NPM and Yarn - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 22 + node-version-file: .nvmrc - name: Set npm version run: npm install -g npm@10 diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml index 6957c7824..9f37eecd7 100644 --- a/.github/workflows/typecheck.yml +++ b/.github/workflows/typecheck.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 22 + node-version-file: .nvmrc cache: npm - name: Authenticate with Font Awesome npm registry