Skip to content

tracing(aws): add configuration option to inject all messages with tr… #970

tracing(aws): add configuration option to inject all messages with tr…

tracing(aws): add configuration option to inject all messages with tr… #970

Workflow file for this run

name: Release dev release line
on:
push:
branches:
- master
jobs:
dev_release:
runs-on: ubuntu-latest
environment: npm
permissions:
id-token: write
contents: write
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
registry-url: 'https://registry.npmjs.org'
- run: yarn install
- id: pkg
run: |
content=`cat ./package.json | tr '\n' ' '`
echo "json=$content" >> $GITHUB_OUTPUT
- run: npm version --no-git-tag-version ${{ fromJson(steps.pkg.outputs.json).version }}-$(git rev-parse --short HEAD)+${{ github.run_id }}.${{ github.run_attempt }}
- run: npm publish --tag dev --provenance
- run: |
git tag --force dev
git push origin :refs/tags/dev
git push origin --tags
injection-image-publish:
runs-on: ubuntu-latest
needs: ['dev_release']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- name: Log in to the Container registry
uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: npm pack for injection image
run: |
npm pack dd-trace@dev
- uses: ./.github/actions/injection
with:
init-image-version: dev