Skip to content

Commit 98e687d

Browse files
authored
Modernize codebase (#548)
* activate testing in ci * ci: remove frozen lockfile in CI workflow
1 parent 6b64d5a commit 98e687d

4 files changed

Lines changed: 51 additions & 23 deletions

File tree

.github/workflows/ci-ts.yaml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,31 @@ jobs:
2222
enable_coverage: false
2323
test_command: "test"
2424
lint_command: "check"
25-
format_command: "check"
25+
format_command: "check"
26+
27+
test-with-docker:
28+
runs-on: ubuntu-latest
29+
needs: ts-checks
30+
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@v4
34+
35+
- name: Setup pnpm
36+
uses: pnpm/action-setup@v4
37+
with:
38+
version: 8
39+
40+
- name: Setup Node.js
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: '22'
44+
cache: 'pnpm'
45+
46+
- name: Install dependencies
47+
run: pnpm install
48+
49+
- name: Run tests with Docker
50+
run: pnpm test
51+
env:
52+
DISPLAY: :99

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
},
1111
"[javascript]": {
1212
"editor.defaultFormatter": "biomejs.biome"
13-
}
13+
},
14+
"cSpell.words": ["zemu"]
1415
}

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zondax/zemu",
3-
"author": "Zondax GmbH",
3+
"author": "Zondax AG",
44
"license": "Apache-2.0",
55
"version": "0.0.0",
66
"description": "Zemu Testing Framework",
@@ -39,22 +39,22 @@
3939
"url": "https://github.com/zondax/zemu/issues"
4040
},
4141
"dependencies": {
42-
"@grpc/grpc-js": "^1.11.1",
43-
"@grpc/proto-loader": "^0.7.13",
42+
"@grpc/grpc-js": "^1.13.4",
43+
"@grpc/proto-loader": "^0.7.15",
4444
"@ledgerhq/hw-transport-http": "^6.30.7",
4545
"axios": "^1.10.0",
46-
"axios-retry": "^4.4.1",
47-
"dockerode": "^4.0.2",
46+
"axios-retry": "^4.5.0",
47+
"dockerode": "^4.0.7",
4848
"elfy": "^1.0.0",
49-
"fs-extra": "^11.2.0",
49+
"fs-extra": "^11.3.0",
5050
"get-port": "^5.1.1",
5151
"pngjs": "^7.0.0",
52-
"randomstring": "^1.3.0"
52+
"randomstring": "^1.3.1"
5353
},
5454
"devDependencies": {
5555
"@biomejs/biome": "^2.1.2",
56-
"@ledgerhq/hw-transport": "^6.31.1",
57-
"@types/dockerode": "^3.3.30",
56+
"@ledgerhq/hw-transport": "^6.31.7",
57+
"@types/dockerode": "^3.3.42",
5858
"@types/fs-extra": "^11.0.4",
5959
"@types/node": "^24.0.15",
6060
"@types/pngjs": "^6.0.5",
@@ -69,4 +69,4 @@
6969
"files": [
7070
"dist/**/*"
7171
]
72-
}
72+
}

pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)