From a36335c2ca86c2a6ef26da8108788a3030c20579 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Tue, 13 May 2025 13:09:23 +0800 Subject: [PATCH 1/2] add gitattribute --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..02db30a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# If there are abnormal line endings in any file, run "git add --renormalize ", +# review the changes, and commit them to fix the line endings. +* text=auto \ No newline at end of file From 6460d5f394d9dcd3db4fb6f7da03954335129261 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Tue, 13 May 2025 13:09:40 +0800 Subject: [PATCH 2/2] fix line endings --- .github/workflows/ci.yml | 140 +++++++++++++++++++-------------------- SUPPORT.md | 22 +++--- 2 files changed, 81 insertions(+), 81 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f800717..b6da1df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,70 +1,70 @@ -name: FeatureManagement-JavaScript CI - -on: - push: - branches: - - main - - preview - - release/* - pull_request: - branches: - - main - - preview - - release/* - -jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [18.x, 20.x] - - defaults: - run: - working-directory: src/feature-management - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - cache-dependency-path: src/feature-management/package-lock.json - - - name: Install dependencies - run: npm ci - working-directory: src/feature-management - - - name: Run lint check for feature-management - run: npm run lint - working-directory: src/feature-management - - - name: Build feature-management - run: npm run build - working-directory: src/feature-management - - - name: Run tests - run: npm run test - working-directory: src/feature-management - - - name: Run browser tests - run: npm run test-browser - working-directory: src/feature-management - - - name: Build feature-management-applicationinsights-browser - run: npm run build - working-directory: src/feature-management-applicationinsights-browser - - - name: Run lint check for feature-management-applicationinsights-browser - run: npm run lint - working-directory: src/feature-management-applicationinsights-browser - - - name: Build feature-management-applicationinsights-node - run: npm run build - working-directory: src/feature-management-applicationinsights-node - - - name: Run lint check for feature-management-applicationinsights-node - run: npm run lint - working-directory: src/feature-management-applicationinsights-node +name: FeatureManagement-JavaScript CI + +on: + push: + branches: + - main + - preview + - release/* + pull_request: + branches: + - main + - preview + - release/* + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x] + + defaults: + run: + working-directory: src/feature-management + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + cache-dependency-path: src/feature-management/package-lock.json + + - name: Install dependencies + run: npm ci + working-directory: src/feature-management + + - name: Run lint check for feature-management + run: npm run lint + working-directory: src/feature-management + + - name: Build feature-management + run: npm run build + working-directory: src/feature-management + + - name: Run tests + run: npm run test + working-directory: src/feature-management + + - name: Run browser tests + run: npm run test-browser + working-directory: src/feature-management + + - name: Build feature-management-applicationinsights-browser + run: npm run build + working-directory: src/feature-management-applicationinsights-browser + + - name: Run lint check for feature-management-applicationinsights-browser + run: npm run lint + working-directory: src/feature-management-applicationinsights-browser + + - name: Build feature-management-applicationinsights-node + run: npm run build + working-directory: src/feature-management-applicationinsights-node + + - name: Run lint check for feature-management-applicationinsights-node + run: npm run lint + working-directory: src/feature-management-applicationinsights-node diff --git a/SUPPORT.md b/SUPPORT.md index f176f1a..90187a0 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -1,11 +1,11 @@ -# Support - -## How to file issues and get help - -This project uses GitHub Issues to track bugs and feature requests. Please search the existing -issues before filing new issues to avoid duplicates. For new issues, file your bug or -feature request as a new Issue. - -## Microsoft Support Policy - -Support for this project is limited to the resources listed above. +# Support + +## How to file issues and get help + +This project uses GitHub Issues to track bugs and feature requests. Please search the existing +issues before filing new issues to avoid duplicates. For new issues, file your bug or +feature request as a new Issue. + +## Microsoft Support Policy + +Support for this project is limited to the resources listed above.