Specify node version to avoid NAPI keytar bug (#2168)

This commit is contained in:
Michael Telatynski
2025-02-28 10:23:49 +00:00
committed by GitHub
parent a546b28c62
commit a46985d91e
10 changed files with 14 additions and 15 deletions

View File

@@ -97,7 +97,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: package.json
node-version-file: .node-version
cache: "yarn"
- name: Install Deps

View File

@@ -76,7 +76,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: package.json
node-version-file: .node-version
cache: "yarn"
env:
# Workaround for https://github.com/actions/setup-node/issues/317
@@ -98,7 +98,7 @@ jobs:
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6
if: steps.changed_files.outputs.any_modified == 'true'
with:
context: dockerbuild
file: dockerbuild/Dockerfile
load: true
platforms: linux/${{ inputs.arch }}
tags: ${{ env.HAK_DOCKER_IMAGE }}

View File

@@ -62,7 +62,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: package.json
node-version-file: .node-version
cache: "yarn"
- name: Install Deps

View File

@@ -56,7 +56,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version-file: package.json
node-version-file: .node-version
cache: "yarn"
- name: Install Deps

View File

@@ -99,9 +99,7 @@ jobs:
- uses: actions/setup-node@v4
with:
# node-version-file: package.json
# For https://github.com/element-hq/element-desktop/issues/2161
node-version: 22.13.1
node-version-file: .node-version
cache: "yarn"
- name: Install Deps

View File

@@ -32,7 +32,7 @@ jobs:
- name: Build test image
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6
with:
context: dockerbuild
file: dockerbuild/Dockerfile
push: false
load: true
tags: element-desktop-dockerbuild
@@ -63,7 +63,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6
with:
context: dockerbuild
file: dockerbuild/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}