diff --git a/.github/workflows/ci-validate-platforms.yml b/.github/workflows/ci-validate-platforms.yml index 36564eb2230..bde351a5819 100644 --- a/.github/workflows/ci-validate-platforms.yml +++ b/.github/workflows/ci-validate-platforms.yml @@ -3,11 +3,11 @@ name: Validate Platforms/Browsers on: push: branches: - - master + - archives/fast-element-1 pull_request: branches: - - master + - archives/fast-element-1 schedule: - cron: 0 7 * * 3 @@ -34,9 +34,13 @@ jobs: - name: Checkout Branch uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: 16.20.0 + - if: ${{ github.event_name == 'pull_request' }} run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/master:refs/remotes/origin/master + git fetch --no-tags --prune --depth=1 origin +refs/heads/archives/fast-element-1:refs/remotes/origin/archives/fast-element-1 - name: Get yarn cache directory path id: yarn-cache-dir-path @@ -65,18 +69,18 @@ jobs: - name: Run tests in changed packages if: ${{ github.event_name == 'pull_request' }} - run: yarn lerna run test --stream --since=origin/master + run: yarn lerna run test --stream --since=origin/archives/fast-element-1 - name: Run tests in all Lerna Packages - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/archives/fast-element-1' }} run: yarn lerna run test --stream - name: Initialize CodeQL - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/archives/fast-element-1' }} uses: github/codeql-action/init@v1 with: languages: javascript, typescript - name: Perform CodeQL Analysis - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/archives/fast-element-1' }} uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/ci-validate-pr.yml b/.github/workflows/ci-validate-pr.yml index 85ec3affb53..aecd3ccc887 100644 --- a/.github/workflows/ci-validate-pr.yml +++ b/.github/workflows/ci-validate-pr.yml @@ -3,11 +3,11 @@ name: Validate PRs on: push: branches: - - master + - archives/fast-element-1 - releases/* pull_request: branches: - - master + - archives/fast-element-1 - releases/* - features/* @@ -20,6 +20,10 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-node@v3 + with: + node-version: 16.20.0 + - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo '::set-output name=dir::$(yarn cache dir)' @@ -51,18 +55,5 @@ jobs: - name: Testing unit tests run: yarn lerna run test --stream - - name: Collect and upload code coverage to Code Climate - uses: paambaati/codeclimate-action@v2.7.5 - env: - CC_TEST_REPORTER_ID: 08a773cb4ea5811add5a45e12873e5cd2634c005568705cc37abfd5217617a32 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - coverageCommand: yarn lerna run coverage - coverageLocations: | - ${{github.workspace}}/packages/tooling/fast-figma-plugin-msft/coverage/lcov.info:lcov - ${{github.workspace}}/packages/utilities/fast-colors/coverage/lcov.info:lcov - ${{github.workspace}}/packages/utilities/fast-eslint-rules/coverage/lcov.info:lcov - debug: false - - name: Testing final validation run: yarn test:validation diff --git a/.vscode/settings.json b/.vscode/settings.json index 5f598efbde3..3cc264f4a71 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,7 +3,11 @@ "files.insertFinalNewline": false }, "[markdown]": { - "editor.quickSuggestions": false, + "editor.quickSuggestions": { + "comments": "off", + "strings": "off", + "other": "off" + }, "editor.wordWrap": "off", "editor.wordWrapColumn": 90, "files.insertFinalNewline": false,