Skip to content

Commit d261a41

Browse files
committed
Update runtime to node 16
1 parent 2dc3b39 commit d261a41

File tree

6 files changed

+48
-40
lines changed

6 files changed

+48
-40
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-node@v1
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
1919
with:
20-
node-version: 12.x
20+
node-version: 16.x
2121
- run: npm ci
2222
- run: npm run build
2323
- run: npm run format-check
2424
- run: npm run lint
2525
- run: npm run test
26-
- uses: actions/upload-artifact@v2
26+
- uses: actions/upload-artifact@v3
2727
with:
2828
name: dist
2929
path: dist
30-
- uses: actions/upload-artifact@v2
30+
- uses: actions/upload-artifact@v3
3131
with:
3232
name: action.yml
3333
path: action.yml
@@ -39,14 +39,14 @@ jobs:
3939
matrix:
4040
target: [built, committed]
4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v3
4343
- if: matrix.target == 'built' || github.event_name == 'pull_request'
44-
uses: actions/download-artifact@v2
44+
uses: actions/download-artifact@v3
4545
with:
4646
name: dist
4747
path: dist
4848
- if: matrix.target == 'built' || github.event_name == 'pull_request'
49-
uses: actions/download-artifact@v2
49+
uses: actions/download-artifact@v3
5050
with:
5151
name: action.yml
5252
path: .
@@ -127,8 +127,8 @@ jobs:
127127
needs: [test]
128128
runs-on: ubuntu-latest
129129
steps:
130-
- uses: actions/checkout@v2
131-
- uses: actions/download-artifact@v2
130+
- uses: actions/checkout@v3
131+
- uses: actions/download-artifact@v3
132132
with:
133133
name: dist
134134
path: dist

.github/workflows/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
labels:
8+
- "dependencies"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The action will output the comment ID of the comment matching the search criteri
1212

1313
```yml
1414
- name: Find Comment
15-
uses: peter-evans/find-comment@v1
15+
uses: peter-evans/find-comment@v2
1616
id: fc
1717
with:
1818
issue-number: 1
@@ -23,7 +23,7 @@ The action will output the comment ID of the comment matching the search criteri
2323
2424
```yml
2525
- name: Find Comment
26-
uses: peter-evans/find-comment@v1
26+
uses: peter-evans/find-comment@v2
2727
id: fc
2828
with:
2929
issue-number: 1
@@ -34,7 +34,7 @@ The action will output the comment ID of the comment matching the search criteri
3434
3535
```yml
3636
- name: Find Comment
37-
uses: peter-evans/find-comment@v1
37+
uses: peter-evans/find-comment@v2
3838
id: fc
3939
with:
4040
issue-number: 1
@@ -46,7 +46,7 @@ The action will output the comment ID of the comment matching the search criteri
4646
4747
```yml
4848
- name: Find Comment
49-
uses: peter-evans/find-comment@v1
49+
uses: peter-evans/find-comment@v2
5050
id: fc
5151
with:
5252
issue-number: 1
@@ -76,7 +76,7 @@ e.g. If `comment-id` is an empty string `steps.fc.outputs.comment-id == 0` evalu
7676

7777
```yml
7878
- name: Find Comment
79-
uses: peter-evans/find-comment@v1
79+
uses: peter-evans/find-comment@v2
8080
id: fc
8181
with:
8282
issue-number: 1

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ outputs:
2424
comment-author:
2525
description: 'The author of the matching comment found.'
2626
runs:
27-
using: 'node12'
27+
using: 'node16'
2828
main: 'dist/index.js'
2929
branding:
3030
icon: 'search'

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "find-comment",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"private": true,
55
"description": "Find an issue or pull request comment",
66
"main": "lib/main.js",

0 commit comments

Comments
 (0)