Files
qqq-frontend-material-dashb…/.circleci/config.yml
2022-11-15 19:21:19 -06:00

34 lines
1.0 KiB
YAML

version: 2.1
orbs:
cypress: cypress-io/cypress@1
jobs:
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
workflows:
build:
jobs:
- setup:
context: [ qqq-maven-registry-credentials ]
- cypress/install:
build: 'npm run build' # run a custom app build step
- cypress/run:
requires:
- cypress/install
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
start: 'npm run start' # start server before running tests