{"id":19644289,"url":"https://github.com/rhyuen/now-serverless-circleci","last_synced_at":"2026-06-13T17:30:58.850Z","repository":{"id":40727423,"uuid":"241262101","full_name":"rhyuen/now-serverless-circleci","owner":"rhyuen","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-24T01:24:46.000Z","size":10217,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T23:46:25.464Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhyuen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-18T03:19:18.000Z","updated_at":"2020-03-04T12:10:32.000Z","dependencies_parsed_at":"2023-02-13T08:45:41.676Z","dependency_job_id":null,"html_url":"https://github.com/rhyuen/now-serverless-circleci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rhyuen/now-serverless-circleci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhyuen%2Fnow-serverless-circleci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhyuen%2Fnow-serverless-circleci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhyuen%2Fnow-serverless-circleci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhyuen%2Fnow-serverless-circleci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhyuen","download_url":"https://codeload.github.com/rhyuen/now-serverless-circleci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhyuen%2Fnow-serverless-circleci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34294407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:26:31.784Z","updated_at":"2026-06-13T17:30:58.748Z","avatar_url":"https://github.com/rhyuen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/rhyuen/now-serverless-circleci.svg?style=svg)](https://circleci.com/gh/rhyuen/now-serverless-circleci)\n\n# ABOUT\n\nAn attempt at using `CircleCI` with Zeit's `Now` and `Typescript`.\n\n# Issues\n\n1. Connection for HTTP requests in tests are always refused when run in CircleCI but not when the tests are run locally.\n\n2. It seems that `jest` sets `NODE_ENV` to `test` by default.  [source:stackoverflow](https://stackoverflow.com/questions/48461394/node-env-with-jest)\n\n# Things I've tried\n\n\u003e 1. Switching between localhost and 127.0.0.1 in the target url.\n\n\u003e 2. Using the `beforeAll(() =\u003e {})` call in one of the jest tests.\n\n\u003e 3. Adding the `.now` folder fields to the CircleCI build environment to make the 'project not linked to NOW' error field go away.\n\n\u003e 4. Found this [link](https://discuss.circleci.com/t/cant-connect-to-node-http-server-running-on-localhost/19857/8) that gets an ip address.  It looks promising.\n\n# Resolved Issues\n\nSOLN:\n32 commits later and it works.\nYou need two commands instead of one.\n\u003e $ now dev --listen 8080 \u0026 wait-on tcp:8080\n\u003e $ npm run test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhyuen%2Fnow-serverless-circleci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhyuen%2Fnow-serverless-circleci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhyuen%2Fnow-serverless-circleci/lists"}