From aef0d09aefbe75550bf1e397fc746c8d4e0cc4d8 Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:30:10 -0600 Subject: [PATCH] No ESM, CJS YUCK --- .github/workflows/release.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 23c7b071..49732e15 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -139,7 +139,9 @@ jobs: uses: actions/github-script@v7 with: script: | - import fs from "node:fs"; + # TODO: fix this with ESM later + # import fs from "node:fs"; + const fs = require("fs"); const releaseId = "${{ needs.create-release.outputs.release_id }}"; // read all files from the binariees dir