Skip to content

Enable RUM feature flag tracking by default if RUM is available #686

Enable RUM feature flag tracking by default if RUM is available

Enable RUM feature flag tracking by default if RUM is available #686

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags:
- 'v*'
pull_request:
release:
types: [created]
permissions:
contents: read
packages: read
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: ${{ matrix.node-version }}
cache: yarn
# Uncomment for monorepo Yarn v1
# cache-dependency-path: "**/yarn.lock"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Format
run: yarn format:check
- name: Validate package versions
run: bash scripts/versions-validate.sh
- name: Build packages
run: yarn build
- name: Run tests
run: yarn test
- name: Test browser package installation
run: yarn test:browser-install
- name: Test node package installation (without OpenFeature)
run: yarn test:node-install
- name: Test node package installation (with OpenFeature)
run: yarn test:node-install:with-of