Skip to content

Add .gitattributes and normalize line endings #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# If there are abnormal line endings in any file, run "git add --renormalize <file_name>",
# review the changes, and commit them to fix the line endings.
* text=auto
140 changes: 70 additions & 70 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
22 changes: 11 additions & 11 deletions SUPPORT.md
Original file line number Diff line number Diff line change
@@ -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.