diff --git a/.github/actions/main-action/healthcheck.js b/.github/actions/main-action/healthcheck.js index feaa52dc..cb086938 100644 --- a/.github/actions/main-action/healthcheck.js +++ 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