Skip to content

Emit the number of loaded source maps in the profile metadata #2615

Emit the number of loaded source maps in the profile metadata

Emit the number of loaded source maps in the profile metadata #2615

Workflow file for this run

name: OpenFeature
on:
pull_request:
push:
branches: [master]
schedule:
- cron: 0 4 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
env:
MOCHA_OPTIONS: ${{ github.ref == 'refs/heads/master' && '--retries 1' || '' }}
jobs:
unit:
strategy:
matrix:
version: [oldest, maintenance, active, latest]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/testagent/start
- uses: ./.github/actions/node
with:
version: ${{ matrix.version }}
- uses: ./.github/actions/install
- run: yarn test:openfeature:ci
- if: always()
uses: ./.github/actions/testagent/logs
with:
suffix: openfeature-${{ github.job }}-${{ matrix.version }}
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
flags: openfeature-unit-${{ matrix.version }}
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
if: always() && github.actor != 'dependabot[bot]'
with:
api_key: ${{ secrets.DD_API_KEY }}
service: dd-trace-js-tests
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
- run: yarn test:integration:openfeature
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
if: always() && github.actor != 'dependabot[bot]'
with:
api_key: ${{ secrets.DD_API_KEY }}
service: dd-trace-js-tests
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/node/oldest-maintenance-lts
- uses: ./.github/actions/install
- run: yarn test:integration:openfeature
- uses: ./.github/actions/node/newest-maintenance-lts
- run: yarn test:integration:openfeature
- uses: ./.github/actions/node/active-lts
- run: yarn test:integration:openfeature
- uses: ./.github/actions/node/latest
- run: yarn test:integration:openfeature
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
if: always() && github.actor != 'dependabot[bot]'
with:
api_key: ${{ secrets.DD_API_KEY }}
service: dd-trace-js-tests
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/node/latest
- uses: ./.github/actions/install
with:
cache: 'true'
- run: yarn test:integration:openfeature
- uses: DataDog/junit-upload-github-action@055560f63c405095e9228ba443eee7987e22bb94 # v2.1.1
if: always() && github.actor != 'dependabot[bot]'
with:
api_key: ${{ secrets.DD_API_KEY }}
service: dd-trace-js-tests