Check Files during Install (#9182)

This commit is contained in:
Joe Haddad 2019-10-23 14:14:32 -04:00 committed by GitHub
parent 9581d8a626
commit f211b35539
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ commands:
steps: steps:
- run: - run:
name: Installing Dependencies name: Installing Dependencies
command: yarn install --frozen-lockfile command: yarn install --frozen-lockfile --check-files
yarn_lint: yarn_lint:
steps: steps:
- run: - run:
@ -56,7 +56,7 @@ commands:
- run: - run:
name: Run All Tests name: Run All Tests
command: | command: |
yarn check && node run-tests.js $( node run-tests.js $(
circleci tests glob "test/**/*.test.*" | \ circleci tests glob "test/**/*.test.*" | \
circleci tests split circleci tests split
) )

View file

@ -35,7 +35,7 @@ steps:
displayName: Cache Yarn packages displayName: Cache Yarn packages
- script: | - script: |
yarn --frozen-lockfile --check-files yarn install --frozen-lockfile --check-files
displayName: 'Install dependencies' displayName: 'Install dependencies'
- script: | - script: |

View file

@ -9,7 +9,7 @@
"dev": "lerna run build --stream --parallel", "dev": "lerna run build --stream --parallel",
"dev2": "while true; do yarn --check-files && yarn dev; done", "dev2": "while true; do yarn --check-files && yarn dev; done",
"testonly": "jest", "testonly": "jest",
"testall": "yarn check && yarn run testonly -- --ci --reporters=default --reporters=jest-junit --forceExit --runInBand", "testall": "yarn run testonly -- --ci --reporters=default --reporters=jest-junit --forceExit --runInBand",
"pretest": "yarn run lint", "pretest": "yarn run lint",
"git-reset": "git reset --hard HEAD", "git-reset": "git reset --hard HEAD",
"git-clean": "git clean -d -x -e node_modules -e packages -f", "git-clean": "git clean -d -x -e node_modules -e packages -f",