Skip to content

Commit 7e3a228

Browse files
Merge branch 'main' of https://github.com/microsoft/FeatureManagement-JavaScript into zhiyuanliang/merge-main-to-preview
2 parents d8e7d54 + 81b3f67 commit 7e3a228

File tree

3 files changed

+42
-7
lines changed

3 files changed

+42
-7
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: FeatureManagement-JavaScriptProvider 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+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Use Node.js ${{ matrix.node-version }}
26+
uses: actions/setup-node@v3
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
cache: 'npm'
30+
- run: npm ci
31+
- run: npm run lint
32+
- run: npm run build
33+
- run: npm test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Microsoft Feature Management for JavaScript
22

3+
[![feature-management](https://img.shields.io/npm/v/@microsoft/feature-management?label=@microsoft/feature-management)](https://www.npmjs.com/package/@microsoft/feature-management)
4+
35
Feature Management is a library for enabling/disabling features at runtime.
46
Developers can use feature flags in simple use cases like conditional statement to more advanced scenarios like conditionally adding routes.
57

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)