Skip to content

fix: compile deploy scripts in an isolated temp directory #1322

fix: compile deploy scripts in an isolated temp directory

fix: compile deploy scripts in an isolated temp directory #1322

Triggered via pull request July 26, 2026 17:52
Status Failure
Total duration 6m 12s
Artifacts –

validate-code.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
Build and Test (windows-latest)
Process completed with exit code 1.
tests/actions/deploy.test.ts > DeployAction > executeTsScript passes rpc url to executeJsScript: tests/actions/deploy.test.ts#L672
AssertionError: expected "spy" to be called with arguments: [ { …(7) } ] Received: 1st spy call: @@ -3,11 +3,11 @@ "bundle": false, "entryPoints": [ "/mocked/script.ts", ], "format": "esm", - "outfile": "/mocked/tmp/genlayer-deploy-abc/script.compiled.js", + "outfile": "\\mocked\\tmp\\genlayer-deploy-abc\\script.compiled.js", "platform": "node", "sourcemap": false, "target": "es2020", }, ] Number of calls: 1 ❯ tests/actions/deploy.test.ts:672:23
tests/actions/deploy.test.ts > DeployAction > executeTsScript transpiles and executes TypeScript: tests/actions/deploy.test.ts#L440
AssertionError: expected "spy" to be called with arguments: [ { …(7) } ] Received: 1st spy call: @@ -3,11 +3,11 @@ "bundle": false, "entryPoints": [ "/mocked/script.ts", ], "format": "esm", - "outfile": "/mocked/tmp/genlayer-deploy-abc/script.compiled.js", + "outfile": "\\mocked\\tmp\\genlayer-deploy-abc\\script.compiled.js", "platform": "node", "sourcemap": false, "target": "es2020", }, ] Number of calls: 1 ❯ tests/actions/deploy.test.ts:440:23
Build and Test (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/github-script@v7, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build and Test (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build and Test (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/