feat: Always emit change events for flags that are part of an experiment. #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**.md' #Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build-test: | |
strategy: | |
matrix: | |
variations: [ | |
{os: ubuntu-latest, node: latest}, | |
{os: ubuntu-latest, node: 18} | |
] | |
runs-on: ${{ matrix.variations.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.variations.node }} | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install | |
run: npm install | |
- name: Test | |
run: npm test | |
env: | |
JEST_JUNIT_OUTPUT_FILE: "reports/junit/js-test-results.xml" | |
- name: Lint | |
run: npm run lint:all | |
- name: Check typescript | |
run: npm run check-typescript | |
- name: Build Docs | |
run: npm run doc |