Skip to content

Commit

Permalink
chore(deps): Bump node-fetch from 2.7.0 to 3.3.2 (#99)
Browse files Browse the repository at this point in the history
* chore(deps): Bump node-fetch from 2.7.0 to 3.3.2

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.7.0 to 3.3.2.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](node-fetch/node-fetch@v2.7.0...v3.3.2)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Upgrade to node 20 and get rid of node-fetch

Signed-off-by: Oğuzhan Durgun <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Oğuzhan Durgun <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oğuzhan Durgun <[email protected]>
  • Loading branch information
dependabot[bot] and oguzhand95 authored Nov 20, 2023
1 parent f424bf1 commit 8f9f10a
Show file tree
Hide file tree
Showing 9 changed files with 2,163 additions and 6,362 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
node-version: 16.x
node-version: 20.x

- name: Print Node.js and npm version
run: |
Expand All @@ -33,11 +33,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
node-version: 16.x
node-version: 20.x

- name: Print Node.js and npm version
run: |
Expand All @@ -53,11 +53,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci --legacy-peer-deps
Expand Down
1 change: 0 additions & 1 deletion __tests__/get-url-to-download.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2021-2023 Zenauth Ltd.
// SPDX-License-Identifier: Apache-2.0

const fetch = require('node-fetch')
import {expect, test} from '@jest/globals'
import {Octokit} from '@octokit/core'
import getURLToDownload from './../src/get-url-to-download'
Expand Down
1 change: 0 additions & 1 deletion __tests__/get-version.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2021-2023 Zenauth Ltd.
// SPDX-License-Identifier: Apache-2.0

const fetch = require('node-fetch')
import {expect, test} from '@jest/globals'
import {Octokit} from '@octokit/core'
import getVersion from './../src/get-version'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ inputs:
default: 'latest'

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 8f9f10a

Please sign in to comment.