mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Adding circleci config
This commit is contained in:
22
.circleci/config.yml
Normal file
22
.circleci/config.yml
Normal 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
|
@ -77,7 +77,8 @@
|
||||
"prepublishOnly": "tsc -p ./ --outDir lib/",
|
||||
"start": "BROWSER=none react-scripts start",
|
||||
"test": "react-scripts test",
|
||||
"cypress:open": "cypress open"
|
||||
"cypress:open": "cypress open",
|
||||
"cypress:run": "cypress run"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
|
Reference in New Issue
Block a user