Skip to content

Show Bypass approver option to the workspace admin when they are the report's current approver #14556

Show Bypass approver option to the workspace admin when they are the report's current approver

Show Bypass approver option to the workspace admin when they are the report's current approver #14556

Workflow file for this run

name: Bun tests
on:
workflow_call:
pull_request:
types: [opened, synchronize]
branches-ignore: [staging, production]
paths:
- 'server/**'
- 'src/**'
- 'tests/tooling/**'
- 'tests/utils/**'
- '.github/actions/javascript/**'
- '.github/libs/**'
- '.github/scripts/**'
- 'scripts/**'
- 'bunfig.toml'
- '.bun-version'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/bunTests.yml'
concurrency:
group: ${{ github.ref == 'refs/heads/main' && format('{0}-{1}', github.ref, github.sha) || github.ref }}-bun-tests
cancel-in-progress: true
jobs:
test:
name: Bun tests
runs-on: blacksmith-8vcpu-ubuntu-2404
steps:
- name: Checkout
uses: useblacksmith/checkout@1c9394c220d293645707b625ba9d79685f093a8f # v1
- name: Setup Node
uses: ./.github/actions/composite/setupNode
- name: Run Bun tests
run: npm run test:bun
- name: Build victory-chart-renderer Linux x64 binary
run: npm run server:vcr:build:linux
- name: Smoke-test compiled victory-chart-renderer binary
run: ./server/victory-chart-renderer/dist/victory-chart-renderer-linux-x64 --chart-xml "$(cat server/victory-chart-renderer/tests/fixtures/top-categories-6.xml)" --out /tmp/vcr-smoke.png && test -s /tmp/vcr-smoke.png