Adding circleci config

This commit is contained in:
2022-11-15 18:59:10 -06:00
parent cb26addc27
commit 6d9c28967f
2 changed files with 24 additions and 1 deletions

22
.circleci/config.yml Normal file
View File

@ -0,0 +1,22 @@
version: 2.1
orbs:
node: circleci/node@5.0.2
jobs:
test:
executor: node/default
steps:
- checkout
- node/install:
node-version: '16.13'
- node/install-packages:
pkg-manager: npm
- run:
name: Start web server
command: npm run start
- run:
name: Run cypress tests
command: |
curl --retry-delay 5 --retry 10 --retry-connrefused https://localhost:3000
npm run cypress:run