Revert convert to esm (#544)

* Revert "update got dependency and convert to esm module (#533)"

This reverts commit 77efb36ae3.

* keep new local test file changes

* keep changes to PR template

* update changelog
This commit is contained in:
John-Michael Faircloth
2024-04-15 16:39:55 -05:00
committed by GitHub
parent ee41aa2fcf
commit 66531b2752
39 changed files with 14341 additions and 12232 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
// @ts-check
import core from '@actions/core';
import * as fs from 'fs';
import got from 'got';
import rsasign from 'jsrsasign';
const core = require('@actions/core');
const rsasign = require('jsrsasign');
const fs = require('fs');
const { default: got } = require('got');
const defaultKubernetesTokenPath = '/var/run/secrets/kubernetes.io/serviceaccount/token'
/***
@@ -154,6 +154,6 @@ async function getClientToken(client, method, path, payload) {
* }} auth
*/
export {
module.exports = {
retrieveToken,
};