Skip to content

Commit

Permalink
Change healthcheck esm imports to requires
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Dec 18, 2023
1 parent ca587d4 commit e28866e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/main-action/healthcheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e28866e

Please sign in to comment.