From 696a6187a646d40d837eb66dd074783260792a29 Mon Sep 17 00:00:00 2001 From: omer-topal Date: Thu, 26 Mar 2026 19:11:20 +0300 Subject: [PATCH] fix: set jsLoader to require for Node.js v24 --- .github/workflows/protos.yml | 2 +- jasmine.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/protos.yml b/.github/workflows/protos.yml index 8cf4e3b..1c815f3 100644 --- a/.github/workflows/protos.yml +++ b/.github/workflows/protos.yml @@ -84,7 +84,7 @@ jobs: PR_BODY="Automatically created PR with the latest generated SDK from Permify proto definitions." echo "${BRANCH_NAME}" - git push "https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}" "${BRANCH_NAME}" + git push --force "https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}" "${BRANCH_NAME}" PR_NUMBER="$(gh pr list --head "${BRANCH_NAME}" --base main --state open --json number --jq '.[0].number')" diff --git a/jasmine.json b/jasmine.json index b50da02..276a976 100644 --- a/jasmine.json +++ b/jasmine.json @@ -1,5 +1,6 @@ { "spec_dir": "src", "spec_files": ["*.test.ts"], - "helpers": [] + "helpers": [], + "jsLoader": "require" }