Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

report tested integrations and their tested versions (#3669) #4

report tested integrations and their tested versions (#3669)

report tested integrations and their tested versions (#3669) #4

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@v3
- 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 "::set-output name=json::$content"
- 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@v3
- 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