File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,44 +44,6 @@ permissions:
4444 contents : read
4545
4646jobs :
47- run-acceptance-tests :
48- name : Run Acceptance Tests
49- runs-on : ubuntu-latest
50- steps :
51- - uses : actions/checkout@v5.0.0
52-
53- - name : " Use Node.js"
54- uses : actions/setup-node@v6
55- with :
56- node-version : " ${{ inputs.nodejs_version }}"
57- registry-url : " https://npm.pkg.github.com"
58- scope : " @nhsdigital"
59-
60- - name : " Set environment"
61- shell : bash
62- run : |
63- if [ "${{ inputs.pr_number }}" != "" ]; then
64- echo "ENVIRONMENT=pr${{ inputs.pr_number }}" >> $GITHUB_ENV
65- else
66- echo "ENVIRONMENT=main" >> $GITHUB_ENV
67- fi
68-
69- - name : Trigger Acceptance Tests
70- shell : bash
71- env :
72- APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
73- APP_CLIENT_ID : ${{ secrets.APP_CLIENT_ID }}
74- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
75- run : |
76- .github/scripts/dispatch_internal_repo_workflow.sh \
77- --targetWorkflow "dispatch-contextual-tests-dynamic-env.yaml" \
78- --infraRepoName "nhs-notify-supplier-api" \
79- --releaseVersion "${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
80- --overrideProjectName "nhs" \
81- --targetEnvironment "$ENVIRONMENT" \
82- --targetAccountGroup "nhs-notify-supplier-api-dev" \
83- --targetComponent "api"
84-
8547 run-e2e-tests :
8648 name : Run End-to-End Tests
8749 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments