Skip to content

Commit

Permalink
bug: fix untracked files (#4389)
Browse files Browse the repository at this point in the history
* bug: fix untracted files

* add a pull_request to test the workflow on changes

* execute git clean before prepare

* move git clean after git checkout

* bug: fix untracted files

* add a pull_request to test the workflow on changes

* execute git clean before prepare

* move git clean after git checkout

* update solution to validate final testing of the mono repository

* add final validation for testing to search out untracked files on git

* remove git clean as no longer needed

* resolve conflict

Co-authored-by: Aaron Wentzel <16669785+awentzel@users.noreply.github.com>
  • Loading branch information
Ibrahimmaga and awentzel authored Mar 4, 2021
1 parent 50efed4 commit 25480e3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,7 @@ jobs:
${{github.workspace}}/packages/utilities/fast-web-utilities/coverage/lcov.info:lcov
${{github.workspace}}/packages/utilities/fast-eslint-rules/coverage/lcov.info:lcov
${{github.workspace}}/sites/fast-component-explorer/coverage/lcov.info:lcov
debug: false
debug: false

- name: Testing final validation
run: yarn test:validation
2 changes: 1 addition & 1 deletion .github/workflows/ci-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Install package dependencies
run: yarn install --frozen-lockfile --ignore-scripts

- name: Prepare workspaces
run: yarn prepare

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
"integration-tests:beta": "node build/testing/sauce-labs/test-browsers.js beta",
"integration-tests:release": "node build/testing/sauce-labs/test-browsers.js release",
"prepare": "lerna run prepare",
"test": "yarn eslint \"/**/*.{ts}\"",
"test:diff:error": "echo \"Untracked files exist, try running yarn prepare to identify the culprit.\" && exit 1",
"test:diff": "git update-index --refresh && git diff-index --quiet HEAD -- || yarn test:diff:error",
"test:validation": "yarn test:diff",
"test": "yarn eslint \"/**/*.{ts}\" ",
"unit-tests": "jest --maxWorkers=4",
"coverage": "yarn jest --coverage",
"unit-tests:watch": "jest --watch",
Expand Down
4 changes: 1 addition & 3 deletions packages/web-components/fast-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@
"test-pw:full": "yarn clean:test && yarn build:pw && yarn test-pw",
"test-pw": "mocha --config ./__test__/.mocharc.json ./__test__/**/*.spec.js",
"test-webkit:pw": "cross-env PLAYWRIGHT_BROWSER=webkit && yarn test-pw:full",
"test:diff:error": "echo \"You have untracked files, try running yarn prepare.\" && exit 1",
"test:diff": "git update-index --refresh && git diff-index --quiet HEAD -- || yarn test:diff:error",
"test": "yarn test-chrome:verbose && yarn doc:ci && yarn test:diff"
"test": "yarn test-chrome:verbose && yarn doc:ci"
},
"devDependencies": {
"@microsoft/api-extractor": "7.8.1",
Expand Down
4 changes: 1 addition & 3 deletions packages/web-components/fast-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@
"prettier:diff": "prettier --config ../../../.prettierrc \"**/*.ts\" --list-different",
"eslint": "eslint . --ext .ts",
"eslint:fix": "eslint . --ext .ts --fix",
"test": "yarn test-chrome:verbose && yarn doc:ci && yarn test:diff",
"test:diff": "git update-index --refresh && git diff-index --quiet HEAD -- || yarn test:diff:error",
"test:diff:error": "echo \"You have untracked files, try running yarn prepare.\" && exit 1",
"test": "yarn test-chrome:verbose && yarn doc:ci",
"test-node": "mocha --reporter min --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
"test-node:verbose": "mocha --reporter spec --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
"test-chrome": "karma start karma.conf.js --browsers=ChromeHeadlessOpt --single-run --coverage",
Expand Down
4 changes: 1 addition & 3 deletions packages/web-components/fast-foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
"prettier:diff": "prettier --config ../../../.prettierrc \"**/*.ts\" --list-different",
"eslint": "eslint . --ext .ts",
"eslint:fix": "eslint . --ext .ts --fix",
"test": "yarn test-chrome:verbose && yarn doc:ci && yarn test:diff",
"test:diff": "git update-index --refresh && git diff-index --quiet HEAD -- || yarn test:diff:error",
"test:diff:error": "echo \"You have untracked files, try running yarn prepare.\" && exit 1",
"test": "yarn test-chrome:verbose && yarn doc:ci",
"test-node": "mocha --reporter min --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
"test-node:verbose": "mocha --reporter spec --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
"test-chrome": "karma start karma.conf.js --browsers=ChromeHeadlessOpt --single-run --coverage",
Expand Down

0 comments on commit 25480e3

Please sign in to comment.