Skip to content

Commit 5fc8c82

Browse files
Add .gitattributes and normalize line endings (#117)
* add gitattribute * fix line endings
1 parent 0ace03e commit 5fc8c82

File tree

3 files changed

+84
-81
lines changed

3 files changed

+84
-81
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# If there are abnormal line endings in any file, run "git add --renormalize <file_name>",
2+
# review the changes, and commit them to fix the line endings.
3+
* text=auto

.github/workflows/ci.yml

Lines changed: 70 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
1-
name: FeatureManagement-JavaScript CI
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
- preview
8-
- release/*
9-
pull_request:
10-
branches:
11-
- main
12-
- preview
13-
- release/*
14-
15-
jobs:
16-
build:
17-
runs-on: ubuntu-latest
18-
19-
strategy:
20-
matrix:
21-
node-version: [18.x, 20.x]
22-
23-
defaults:
24-
run:
25-
working-directory: src/feature-management
26-
27-
steps:
28-
- uses: actions/checkout@v3
29-
- name: Use Node.js ${{ matrix.node-version }}
30-
uses: actions/setup-node@v3
31-
with:
32-
node-version: ${{ matrix.node-version }}
33-
cache: 'npm'
34-
cache-dependency-path: src/feature-management/package-lock.json
35-
36-
- name: Install dependencies
37-
run: npm ci
38-
working-directory: src/feature-management
39-
40-
- name: Run lint check for feature-management
41-
run: npm run lint
42-
working-directory: src/feature-management
43-
44-
- name: Build feature-management
45-
run: npm run build
46-
working-directory: src/feature-management
47-
48-
- name: Run tests
49-
run: npm run test
50-
working-directory: src/feature-management
51-
52-
- name: Run browser tests
53-
run: npm run test-browser
54-
working-directory: src/feature-management
55-
56-
- name: Build feature-management-applicationinsights-browser
57-
run: npm run build
58-
working-directory: src/feature-management-applicationinsights-browser
59-
60-
- name: Run lint check for feature-management-applicationinsights-browser
61-
run: npm run lint
62-
working-directory: src/feature-management-applicationinsights-browser
63-
64-
- name: Build feature-management-applicationinsights-node
65-
run: npm run build
66-
working-directory: src/feature-management-applicationinsights-node
67-
68-
- name: Run lint check for feature-management-applicationinsights-node
69-
run: npm run lint
70-
working-directory: src/feature-management-applicationinsights-node
1+
name: FeatureManagement-JavaScript CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- preview
8+
- release/*
9+
pull_request:
10+
branches:
11+
- main
12+
- preview
13+
- release/*
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
19+
strategy:
20+
matrix:
21+
node-version: [18.x, 20.x]
22+
23+
defaults:
24+
run:
25+
working-directory: src/feature-management
26+
27+
steps:
28+
- uses: actions/checkout@v3
29+
- name: Use Node.js ${{ matrix.node-version }}
30+
uses: actions/setup-node@v3
31+
with:
32+
node-version: ${{ matrix.node-version }}
33+
cache: 'npm'
34+
cache-dependency-path: src/feature-management/package-lock.json
35+
36+
- name: Install dependencies
37+
run: npm ci
38+
working-directory: src/feature-management
39+
40+
- name: Run lint check for feature-management
41+
run: npm run lint
42+
working-directory: src/feature-management
43+
44+
- name: Build feature-management
45+
run: npm run build
46+
working-directory: src/feature-management
47+
48+
- name: Run tests
49+
run: npm run test
50+
working-directory: src/feature-management
51+
52+
- name: Run browser tests
53+
run: npm run test-browser
54+
working-directory: src/feature-management
55+
56+
- name: Build feature-management-applicationinsights-browser
57+
run: npm run build
58+
working-directory: src/feature-management-applicationinsights-browser
59+
60+
- name: Run lint check for feature-management-applicationinsights-browser
61+
run: npm run lint
62+
working-directory: src/feature-management-applicationinsights-browser
63+
64+
- name: Build feature-management-applicationinsights-node
65+
run: npm run build
66+
working-directory: src/feature-management-applicationinsights-node
67+
68+
- name: Run lint check for feature-management-applicationinsights-node
69+
run: npm run lint
70+
working-directory: src/feature-management-applicationinsights-node

SUPPORT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Support
2-
3-
## How to file issues and get help
4-
5-
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
6-
issues before filing new issues to avoid duplicates. For new issues, file your bug or
7-
feature request as a new Issue.
8-
9-
## Microsoft Support Policy
10-
11-
Support for this project is limited to the resources listed above.
1+
# Support
2+
3+
## How to file issues and get help
4+
5+
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
6+
issues before filing new issues to avoid duplicates. For new issues, file your bug or
7+
feature request as a new Issue.
8+
9+
## Microsoft Support Policy
10+
11+
Support for this project is limited to the resources listed above.

0 commit comments

Comments
 (0)