remove node-fetch install

This commit is contained in:
Jacob Overgaard
2023-02-21 09:23:18 +01:00
committed by GitHub
parent 2d669627eb
commit 282b03fd1e

View File

@@ -11,15 +11,10 @@ jobs:
issues: write
pull-requests: write
steps:
- name: Install dependencies
run: |
npm install node-fetch
- name: Fetch random comment 🗣️ and add it to the PR
uses: actions/github-script@v6
with:
script: |
const fetch = require('node-fetch')
const response = await fetch('https://collaboratorsv2.euwest01.umbraco.io/umbraco/api/comments/PostComment', {
method: 'post',
body: JSON.stringify({