Skip to content

Commit 57517b5

Browse files
committed
feat: remove Cypress in order to leave this repository with the bare minimum needed to run TypeScript and move Cypress to typescript-web-skeleton
1 parent 90e1443 commit 57517b5

File tree

11 files changed

+85
-1474
lines changed

11 files changed

+85
-1474
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,31 +25,4 @@ jobs:
2525
run: npm install
2626

2727
- name: Test
28-
run: npm run test
29-
e2e:
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- uses: actions/checkout@v2
34-
35-
- name: Cache node modules
36-
uses: actions/cache@v2
37-
env:
38-
cache-name: cache-node-modules
39-
with:
40-
path: ~/.npm
41-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
42-
restore-keys: |
43-
${{ runner.os }}-build-${{ env.cache-name }}-
44-
${{ runner.os }}-build-
45-
${{ runner.os }}-
46-
47-
- name: Install Dependencies
48-
run: npm install
49-
50-
- name: Cypress run
51-
uses: cypress-io/github-action@v2
52-
with:
53-
build: npm run build
54-
start: npm run start
55-
wait-on: "http://localhost:8080"
28+
run: npm run test

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# TypeScript Bootstrap (base / project starter)
1+
# TypeScript Skeleton (base / project starter)
22

3-
This is a repository intended to serve as a starting point if you want to bootstrap a project in TypeScript.
3+
Repository intended to serve as a starting point if you want to bootstrap a project in TypeScript.
44

55
## Features
66

@@ -14,7 +14,6 @@ This is a repository intended to serve as a starting point if you want to bootst
1414
- [HTML plugin](https://github.com/BenoitZugmeyer/eslint-plugin-html)
1515
- And a few other ES2015+ related rules
1616
- [Jest](https://jestjs.io) with [DOM Testing Library](https://testing-library.com/docs/dom-testing-library/intro)
17-
- [Cypress](https://www.cypress.io/) with [Testing Library](https://testing-library.com/docs/cypress-testing-library/)
1817
- [GitHub Action workflows](https://github.com/features/actions) set up to run tests and linting on push
1918

2019
## Running the app
@@ -41,19 +40,6 @@ npm run start
4140
npm run test
4241
```
4342

44-
### Cypress
45-
46-
```
47-
# run in dev mode on port 8080
48-
npm run dev
49-
50-
# open Cypress to run tests on dev mode
51-
npm run cy:open
52-
53-
# open Cypress on CLI
54-
npm run cy:run
55-
```
56-
5743
## Linting
5844

5945
```

cypress.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

cypress/fixtures/example.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

cypress/integration/home.spec.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

cypress/plugins/index.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

cypress/support/commands.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

cypress/support/index.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

cypress/tsconfig.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)