mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
Fixing setup job to run in cypress executor
This commit is contained in:
@ -1,9 +1,9 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
orbs:
|
orbs:
|
||||||
cypress: cypress-io/cypress@1
|
cypress: cypress-io/cypress@2
|
||||||
|
|
||||||
jobs:
|
commands:
|
||||||
setup:
|
setup:
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
@ -15,10 +15,16 @@ jobs:
|
|||||||
echo "@OWNER:registry=https://npm.pkg.github.com/" >> .npmrc
|
echo "@OWNER:registry=https://npm.pkg.github.com/" >> .npmrc
|
||||||
echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" >> .npmrc
|
echo "//npm.pkg.github.com/:_authToken=${NPM_TOKEN}" >> .npmrc
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup-job:
|
||||||
|
executor: cypress/base-10
|
||||||
|
steps:
|
||||||
|
- setup
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
build:
|
build:
|
||||||
jobs:
|
jobs:
|
||||||
- setup:
|
- setup-job:
|
||||||
context: [ qqq-maven-registry-credentials ]
|
context: [ qqq-maven-registry-credentials ]
|
||||||
- cypress/install:
|
- cypress/install:
|
||||||
build: 'npm run build' # run a custom app build step
|
build: 'npm run build' # run a custom app build step
|
||||||
|
Reference in New Issue
Block a user