diff --git a/.github/workflows/monorepo-validate.yaml b/.github/workflows/monorepo-validate.yaml index f6e52ae2d..f5d904f41 100644 --- a/.github/workflows/monorepo-validate.yaml +++ b/.github/workflows/monorepo-validate.yaml @@ -7,10 +7,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: '**/node_modules' + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' - run: yarn install + if: steps.cache.outputs.cache-hit != 'true' - run: yarn run compliance:licenses audit: @@ -18,10 +24,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: '**/node_modules' + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' - run: yarn install + if: steps.cache.outputs.cache-hit != 'true' - run: yarn run compliance:audit lint: @@ -29,10 +41,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: '**/node_modules' + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' - run: yarn install + if: steps.cache.outputs.cache-hit != 'true' - run: yarn lint test: @@ -40,8 +58,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: '**/node_modules' + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' - run: yarn install + if: steps.cache.outputs.cache-hit != 'true' - run: yarn test diff --git a/README.md b/README.md index ac3e10ded..abc20fb67 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ This top-level repository provides limited common tasks, such as installation and commit assistance. However, most tasks must be executed from within a subproject, e.g. running or testing. + **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* diff --git a/addons/api/testem.js b/addons/api/testem.js index 854db8659..dfb911881 100644 --- a/addons/api/testem.js +++ b/addons/api/testem.js @@ -3,7 +3,7 @@ module.exports = { test_page: 'tests/index.html?hidepassed', disable_watching: true, - launch_in_ci: ['Chrome', 'Firefox'], + launch_in_ci: ['Chrome'], launch_in_dev: ['Chrome', 'Firefox'], browser_start_timeout: 120, browser_args: { diff --git a/addons/auth/testem.js b/addons/auth/testem.js index 854db8659..dfb911881 100644 --- a/addons/auth/testem.js +++ b/addons/auth/testem.js @@ -3,7 +3,7 @@ module.exports = { test_page: 'tests/index.html?hidepassed', disable_watching: true, - launch_in_ci: ['Chrome', 'Firefox'], + launch_in_ci: ['Chrome'], launch_in_dev: ['Chrome', 'Firefox'], browser_start_timeout: 120, browser_args: { diff --git a/addons/rose/testem.js b/addons/rose/testem.js index 854db8659..dfb911881 100644 --- a/addons/rose/testem.js +++ b/addons/rose/testem.js @@ -3,7 +3,7 @@ module.exports = { test_page: 'tests/index.html?hidepassed', disable_watching: true, - launch_in_ci: ['Chrome', 'Firefox'], + launch_in_ci: ['Chrome'], launch_in_dev: ['Chrome', 'Firefox'], browser_start_timeout: 120, browser_args: { diff --git a/ui/core/testem.js b/ui/core/testem.js index be5731f94..7381bd84e 100644 --- a/ui/core/testem.js +++ b/ui/core/testem.js @@ -1,7 +1,7 @@ module.exports = { test_page: 'tests/index.html?hidepassed', disable_watching: true, - launch_in_ci: ['Chrome', 'Firefox'], + launch_in_ci: ['Chrome'], launch_in_dev: ['Chrome', 'Firefox'], browser_start_timeout: 120, browser_args: {