File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,23 +57,19 @@ jobs:
5757# run: |
5858# echo "Deploying application..."
5959
60- test-contract :
61- name : " Contract test"
62- runs-on : ubuntu-latest
63- # needs: environment-set-up
64- timeout-minutes : 10
65- steps :
66- - name : " Checkout code"
67- uses : actions/checkout@v5
68- - name : " Cache node_modules"
69- uses : actions/cache@v4
60+ - name : ' Use Node.js'
61+ uses : actions/setup-node@v6
7062 with :
71- path : |
72- **/node_modules
73- key : ${{ runner.os }}-node-${{ inputs.nodejs_version }}-${{ hashFiles('**/package-lock.json') }}
74- restore-keys : |
75- ${{ runner.os }}-node-${{ inputs.nodejs_version }}-
76- - name : " Run contract test"
63+ node-version : ' ${{ inputs.nodejs_version }}'
64+ registry-url : ' https://npm.pkg.github.com'
65+ scope : ' @nhsdigital'
66+
67+ - name : Trigger Acceptance Tests
68+ shell : bash
69+ env :
70+ APP_PEM_FILE : ${{ secrets.APP_PEM_FILE }}
71+ APP_CLIENT_ID : ${{ secrets.APP_CLIENT_ID }}
72+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7773 run : |
7874 make test-contract
7975 env :
You can’t perform that action at this time.
0 commit comments