Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: .node-version
- name: Cypress Component Tests
uses: cypress-io/github-action@v6
with:
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
11 changes: 8 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This repo contains several examples of the
[Cypress Component Testing Getting Started app](https://docs.cypress.io/guides/component-testing/writing-your-first-component-test)
in various frameworks and libraries.

To get started with an example, clone the repo, go into the desired directory,
and `npm install`, and then run the application as you normally would for that
framework (see the folders readme file).
To get started with an example, first clone the repo.

Use the recommended version of [Node.js](https://nodejs.org/en/) as shown by the file [.node-version](./.node-version) contents.
The repo [node-version-usage](https://github.com/shadowspawn/node-version-usage) contains a list of Node.js version managers that read and use the contents of a [.node-version](./.node-version) file to install and use the specified version.

Go into the desired directory, execute `npm install`,
and then run the application as you normally would for that
framework (see the folder's readme file).