Skip to content

Removes crypto dependency so this can be used in edge runtimes #281

Removes crypto dependency so this can be used in edge runtimes

Removes crypto dependency so this can be used in edge runtimes #281

Triggered via pull request July 10, 2024 12:35
Status Failure
Total duration 16s
Artifacts

tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/lock.test.ts:13:18 at /home/runner/work/lock/lock/src/lock.test.ts:9:60
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/lock.test.ts:31:18 at /home/runner/work/lock/lock/src/lock.test.ts:27:58
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/lock.test.ts:54:18 at /home/runner/work/lock/lock/src/lock.test.ts:50:39
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/lock.test.ts:72:18 at /home/runner/work/lock/lock/src/lock.test.ts:68:50
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/lock.test.ts:90:18 at /home/runner/work/lock/lock/src/lock.test.ts:86:30
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/debounce.test.ts:17:18 at /home/runner/work/lock/lock/src/debounce.test.ts:9:62
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/debounce.test.ts:47:18 at /home/runner/work/lock/lock/src/debounce.test.ts:41:63
error: Unable to find environment variable: `UPSTASH_REDIS_REST_URL`: node_modules/@upstash/redis/nodejs.js#L1
at fromEnv (/home/runner/work/lock/lock/node_modules/@upstash/redis/nodejs.js:1:39939) at /home/runner/work/lock/lock/src/debounce.test.ts:75:18 at /home/runner/work/lock/lock/src/debounce.test.ts:67:53
Tests
Process completed with exit code 1.
Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/