Skip to content

Commit

Permalink
feat: Use nock@14, support node@20/fetch (#83)
Browse files Browse the repository at this point in the history
* feat!: Use nock@14, support node@20/fetch

Fixes #77

* feat!: Upgrade to octokit/rest@v20

* fix: NodeJS version ranges
  • Loading branch information
oliversalzburg committed Jul 17, 2024
1 parent 53d1d38 commit 24136fc
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 211 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/

- name: Install packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
tests:
strategy:
matrix:
node-version: [16.x]
node-version: [18,20,22]
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand All @@ -36,7 +36,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18

- name: Install packages
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: warchant/setup-sonar-scanner@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- run: npm ci
- run: npm run test:report
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: npm
- run: npm install @octokit/openapi-types-ghec -D
- run: npm ci
Expand Down
Loading

0 comments on commit 24136fc

Please sign in to comment.