Skip to content

Commit

Permalink
Remove node fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
danielebra committed Mar 5, 2024
1 parent ae6b7f6 commit 1b3a39b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
publish-release-no-candidate,
publish-release-clear-candidate,
]
permissions:
id-token: write
contents: write
runs-on: ubuntu-latest
steps:
- name: Assert Release URLs
Expand All @@ -70,8 +73,6 @@ jobs:
'publish-release-clear-candidate': '${{ needs.publish-release-clear-candidate.outputs.URL }}',
};
const fetch = require('node-fetch');
for (const [job, url] of Object.entries(urls)) {
console.log(`Checking URL for ${job}: ${url}`);
const response = await fetch(url);
Expand All @@ -86,6 +87,9 @@ jobs:
needs: [assert-url]
if: always()
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- name: Delete Resources
uses: actions/github-script@v7
Expand Down

0 comments on commit 1b3a39b

Please sign in to comment.