Skip to content

Commit

Permalink
deps!: update @octokit/rest to v19 (#385)
Browse files Browse the repository at this point in the history
New octokit versions also drop node 12

build!: drop Node 12 support
build(action)!: upgrade to Node 14
  • Loading branch information
chingor13 authored Aug 9, 2022
1 parent f2a29a1 commit aa1b768
Show file tree
Hide file tree
Showing 8 changed files with 4,495 additions and 7,809 deletions.
2 changes: 1 addition & 1 deletion .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ branchProtectionRules:
- "ci/kokoro: System test"
- docs
- lint
- test (12)
- test (14)
- test (16)
- test (18)
- cla/google
- windows
- OwlBot Post Processor
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14
- run: |-
set -e
set -ex
npm --version
npm i
npm run compile
pushd action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ inputs:
labels:
description: Labels to add to the pull request being opened.
runs:
using: 'node12'
using: 'node14'
main: 'action/dist/index.js'
4,435 changes: 4,035 additions & 400 deletions action/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@
"license": "Apache-2.0",
"dependencies": {
"@actions/core": "^1.6.0",
"@octokit/rest": "^18.3.5",
"@types/sinon": "^10.0.0",
"@octokit/rest": "^19.0.0",
"code-suggester": "file:.."
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.5",
"@types/sinon": "^10.0.0",
"@vercel/ncc": "^0.34.0",
"c8": "^7.0.1",
"gts": "^3.0.0",
"js-yaml": "^4.1.0",
"mocha": "^8.0.0",
"sinon": "^14.0.0",
"ts-jest": "^28.0.0",
"typescript": "^3.9.5"
"typescript": "^4.7.4"
}
}
Loading

0 comments on commit aa1b768

Please sign in to comment.