fix(netlify-cms-app): add missing dependencies(#2255)
This commit is contained in:
parent
604ca29389
commit
cf03a37a6b
@ -1,27 +0,0 @@
|
||||
jobs:
|
||||
- job: ${{ parameters.name }}
|
||||
pool:
|
||||
vmImage: ${{ parameters.vmImage }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node_8_x:
|
||||
node_version: 8.x
|
||||
node_10_x:
|
||||
node_version: 10.x
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(node_version)
|
||||
|
||||
- script: |
|
||||
${{ parameters.preScript }}
|
||||
node --version
|
||||
npm --version
|
||||
yarn --version
|
||||
yarn
|
||||
yarn bootstrap
|
||||
${{ parameters.script }}
|
||||
env:
|
||||
CYPRESS_RECORD_KEY: $(CYPRESS_RECORD_KEY)
|
@ -1,16 +1,27 @@
|
||||
jobs:
|
||||
- template: azure-pipelines-template.yml
|
||||
parameters:
|
||||
name: unit_tests
|
||||
- job: ci
|
||||
pool:
|
||||
vmImage: 'Ubuntu-16.04'
|
||||
preScript: ''
|
||||
script: yarn test:ci
|
||||
|
||||
- template: azure-pipelines-template.yml
|
||||
parameters:
|
||||
name: e2e_tests
|
||||
vmImage: 'Ubuntu-16.04'
|
||||
preScript: |
|
||||
strategy:
|
||||
matrix:
|
||||
node_8_x:
|
||||
node_version: 8.x
|
||||
node_10_x:
|
||||
node_version: 10.x
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(node_version)
|
||||
|
||||
- script: |
|
||||
apt-get update && apt-get install -y libgconf-2-4
|
||||
script: |
|
||||
yarn test:e2e:ci
|
||||
node --version
|
||||
npm --version
|
||||
yarn --version
|
||||
yarn
|
||||
yarn bootstrap
|
||||
yarn test:all:ci
|
||||
env:
|
||||
CYPRESS_RECORD_KEY: $(cypressRecordKey)
|
||||
|
@ -32,6 +32,9 @@
|
||||
"netlify-cms-backend-test": "^2.2.1-beta.1",
|
||||
"netlify-cms-core": "^2.10.1-beta.2",
|
||||
"netlify-cms-editor-component-image": "^2.4.1-beta.1",
|
||||
"netlify-cms-lib-auth": "^2.2.1-beta.1",
|
||||
"netlify-cms-lib-util": "^2.3.1-beta.1",
|
||||
"netlify-cms-ui-default": "^2.6.1-beta.1",
|
||||
"netlify-cms-widget-boolean": "^2.2.1-beta.2",
|
||||
"netlify-cms-widget-date": "^2.3.1-beta.2",
|
||||
"netlify-cms-widget-datetime": "^2.2.1-beta.2",
|
||||
@ -47,7 +50,8 @@
|
||||
"netlify-cms-widget-string": "^2.2.1-beta.2",
|
||||
"netlify-cms-widget-text": "^2.2.1-beta.2",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-immutable-proptypes": "^2.1.0"
|
||||
"react-immutable-proptypes": "^2.1.0",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user