diff --git a/.github/actions/main-action/healthcheck.ts b/.github/actions/main-action/healthcheck.js similarity index 94% rename from .github/actions/main-action/healthcheck.ts rename to .github/actions/main-action/healthcheck.js index feaa52dc..cb086938 100644 --- a/.github/actions/main-action/healthcheck.ts +++ b/.github/actions/main-action/healthcheck.js @@ -21,9 +21,9 @@ * For details see https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github */ -import { setOutput, setFailed } from '@actions/core'; -import fetch from 'node-fetch'; -import Twilio from 'twilio'; +const { setOutput, setFailed } = require('@actions/core'); +const fetch = require('node-fetch'); +const Twilio = require('twilio'); async function healthCheck () { // `who-to-greet` input defined in action metadata file diff --git a/.github/actions/main-action/package.json b/.github/actions/main-action/package.json index f818a8d6..c61f9002 100644 --- a/.github/actions/main-action/package.json +++ b/.github/actions/main-action/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "healthcheck": "npm install && npx ts-node --esm ./healthcheck.ts" + "healthcheck": "npm install && node healthcheck.js" }, "author": "", "license": "AGPL", diff --git a/.github/workflows/deploy-all-production-accounts.yml b/.github/workflows/deploy-all-production-accounts.yml index 09433ddb..5664fabb 100644 --- a/.github/workflows/deploy-all-production-accounts.yml +++ b/.github/workflows/deploy-all-production-accounts.yml @@ -44,5 +44,5 @@ jobs: uses: ./.github/workflows/deploy-multiple-accounts.yml secrets: inherit with: - helplines: ${{ needs.configure.outputs.production_helplines }} + helplines: ${{ needs.configure.outputs.target_helplines }} environments: '[ "PROD" ]'