mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Turning off circleci (cypress)
This commit is contained in:
@ -1,50 +0,0 @@
|
|||||||
version: 2.1
|
|
||||||
|
|
||||||
orbs:
|
|
||||||
cypress: cypress-io/cypress@2
|
|
||||||
|
|
||||||
commands:
|
|
||||||
setup:
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- run:
|
|
||||||
name: write npmrc
|
|
||||||
command: |
|
|
||||||
echo "@kingsrook:registry=https://npm.pkg.github.com/" >> .npmrc
|
|
||||||
echo "NPM_TOKEN=${NPM_TOKEN}" >> .npmrc
|
|
||||||
echo "@OWNER:registry=https://npm.pkg.github.com/" >> .npmrc
|
|
||||||
echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" >> .npmrc
|
|
||||||
- run:
|
|
||||||
name: copy .env
|
|
||||||
command: |
|
|
||||||
cp .circleci/env ./.env
|
|
||||||
cat ./.env
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
setup-job:
|
|
||||||
executor: cypress/base-10
|
|
||||||
steps:
|
|
||||||
- setup
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
build:
|
|
||||||
jobs:
|
|
||||||
- setup-job:
|
|
||||||
context: [ qqq-maven-registry-credentials ]
|
|
||||||
- cypress/install:
|
|
||||||
context: [ qqq-maven-registry-credentials ]
|
|
||||||
requires:
|
|
||||||
- setup-job
|
|
||||||
build: 'cp .circleci/env ./.env && npm run build' # run a custom app build step
|
|
||||||
- cypress/run:
|
|
||||||
context: [ qqq-maven-registry-credentials ]
|
|
||||||
requires:
|
|
||||||
- cypress/install
|
|
||||||
start: 'cp .circleci/env ./.env && npm run start' # start server before running tests
|
|
||||||
wait-on: 'https://localhost:3000'
|
|
||||||
## record: true # record results on Cypress Dashboard
|
|
||||||
## parallel: true # split all specs across machines
|
|
||||||
## parallelism: 4 # use 4 CircleCI machines to finish quickly
|
|
||||||
## group: 'all tests' # name this group "all tests" on the dashboard
|
|
||||||
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
GENERATE_SOURCEMAP=false
|
|
||||||
HTTPS=true
|
|
||||||
|
|
||||||
REACT_APP_MATERIAL_UI_LICENSE_KEY=${MATERIAL_UI_LICENSE_KEY}
|
|
||||||
|
|
||||||
REACT_APP_GOOGLE_APP_API_KEY=${GOOGLE_APP_API_KEY}
|
|
||||||
REACT_APP_GOOGLE_APP_CLIENT_ID=${GOOGLE_APP_CLIENT_ID
|
|
Reference in New Issue
Block a user