fix(ioredis): fix instrumentation of ESM-imported ioredis #2977
Workflow file for this run
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: TAV for PR | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- unlabeled | |
jobs: | |
parse-labels: | |
runs-on: ubuntu-latest | |
container: | |
image: node:16 | |
env: | |
PR_LABELS: ${{ toJSON(github.event.pull_request.labels.*.name) }} | |
outputs: | |
args: ${{ steps.lerna-args.outputs.args }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Need lerna to list all packages | |
- name: Install lerna | |
run: npm install -g lerna@5.5.2 | |
- name: Parse labels into lerna scope arguments | |
id: lerna-args | |
run: | | |
OUTPUT=`node scripts/parse-lerna-scopes.mjs "$PR_LABELS"` | |
echo "args=$OUTPUT" >> $GITHUB_OUTPUT | |
tav: | |
uses: ./.github/workflows/test-all-versions.yml | |
needs: parse-labels | |
with: | |
lerna-args: ${{ needs.parse-labels.outputs.args }} | |
if: ${{ needs.parse-labels.outputs.args != '' }} |