Skip to content

Commit

Permalink
feat: make probot work with latest octokit deps (#1864)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for NodeJS < 18
BREAKING CHANGE: replace `node-fetch` with the Fetch API
  • Loading branch information
Uzlopak committed Oct 29, 2023
1 parent 7b09369 commit a6f4474
Show file tree
Hide file tree
Showing 48 changed files with 8,804 additions and 19,994 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
name: docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: git fetch --depth=20 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
cache: npm
- run: npm ci
- run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
cache: npm
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ jobs:
strategy:
matrix:
node-version:
- 10
- 12
- 14
- 18
- 20
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
Expand All @@ -34,11 +33,11 @@ jobs:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
cache: npm
node-version: 16
node-version: lts/*
- run: npm ci
- run: npm run lint
- run: npm run build
Expand Down

0 comments on commit a6f4474

Please sign in to comment.