Skip to content

test_commonjs

test_commonjs #40

Workflow file for this run

name: Test Action
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Run Action
id: my-action
uses: ./
with:
api-token: ${{ secrets.HEAL_API_TOKEN }}
suite-id: "455"
wait-for-results: "yes"
domain: "https://api-staging.heal.dev"
comment-on-pr: "yes"
- name: Assert Result
run: |
if [[ "${{ steps.my-action.outputs.execution-id }}" == "" ]]; then
echo "Action failed to return an execution ID."
exit 1
fi