Skip to content

e2e-target

e2e-target #4400

Workflow file for this run

name: e2e-target
on:
workflow_run:
workflows:
- ts
types:
- completed
jobs:
test:
if: |
github.actor == 'int128' ||
github.actor == 'renovate[bot]'
name: test / ${{ github.event_name }} / ${{ github.event.action }}
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
actions: read
checks: write
contents: read
steps:
- name: Event
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
core.info(`eventName=${context.eventName}`)
core.info(`sha=${context.sha}`)
core.info(`ref=${context.ref}`)
core.info(`actor=${context.actor}`)
core.info(`payload=${JSON.stringify(context.payload, undefined, 2)}`)
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ github.event.workflow_run.head_sha }}
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .node-version
- run: npm install -g corepack
- run: corepack enable
- run: pnpm i
- run: pnpm build
- uses: ./
with:
datadog-api-key: ${{ secrets.DATADOG_API_KEY }}
collect-job-metrics: true
collect-step-metrics: true
- if: always()
uses: int128/checks-action@860fcb44f66b9e9c36dc135c300bf3e8c1b6cfd2 # v0.20.0
with:
operation: create-check-run
check-run-name: e2e-target
details-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
title: E2E test ${{ job.status }}
summary: |
This is an end-to-end test triggered by the completion of the `ts` workflow.