Skip to content

Add GitHub action to run yarn test#1

Merged
vgrichina merged 5 commits intomainfrom
add-github-action
Apr 23, 2025
Merged

Add GitHub action to run yarn test#1
vgrichina merged 5 commits intomainfrom
add-github-action

Conversation

@vgrichina
Copy link
Collaborator

@vgrichina vgrichina commented Apr 23, 2025

Add GitHub action to run yarn test.

  • Create a GitHub Actions workflow file .github/workflows/ci.yml.
  • Use actions/setup-node@v2 to install Node.js.
  • Install dependencies using yarn install.
  • Run tests using yarn test.

For more details, open the Copilot Workspace session.

Add GitHub action to run `yarn test`.

* Create a GitHub Actions workflow file `.github/workflows/ci.yml`.
* Use `actions/setup-node@v2` to install Node.js.
* Install dependencies using `yarn install`.
* Run tests using `yarn test`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vgrichina/vibe-server?shareId=XXXX-XXXX-XXXX-XXXX).
* Change `node-version` from '14' to '18' in `.github/workflows/ci.yml`
* Modify the `Run tests` step to include `NODE_OPTIONS="--experimental-vm-modules"` before running `yarn test`
* Add Redis service to the workflow
  - Use the `redis` image
  - Expose port 6379
@vgrichina vgrichina merged commit a2267a7 into main Apr 23, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant