Skip to content

[INTER-1124] add e2e tests workflow #14

[INTER-1124] add e2e tests workflow

[INTER-1124] add e2e tests workflow #14

Workflow file for this run

name: E2E Tests
on:
# TODO Remove
pull_request:
workflow_dispatch:
release:
types:
- published
jobs:
read-version:
name: 'Read package version'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v4
- name: Read version from package.json
id: version
run: echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT
e2e-tests:
name: 'Run E2E tests'
needs: read-version
uses: fingerprintjs/dx-team-toolkit/.github/workflows/run-server-sdk-e2e-tests.yml@feature/INTER-1098-sdk-e2e-tests

Check failure on line 24 in .github/workflows/e2e-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e-tests.yml

Invalid workflow file

error parsing called workflow ".github/workflows/e2e-tests.yml" -> "fingerprintjs/dx-team-toolkit/.github/workflows/run-server-sdk-e2e-tests.yml@feature/INTER-1098-sdk-e2e-tests" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
sdk: node
sdkVersion: ${{ needs.read-version.outputs.version }}
appId: ${{ vars.RUNNER_APP_ID }}
commitSha: ${{ github.event.pull_request.head.sha || github.sha }}
secrets:
APP_PRIVATE_KEY: ${{ secrets.RUNNER_APP_PRIVATE_KEY }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}