Skip to content

Commit a85dfb0

Browse files
committed
Add workflow and rename deprecated property
1 parent d09dc7b commit a85dfb0

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build
2+
3+
on: [push]
4+
5+
jobs:
6+
lint-node:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: 12
13+
- name: Cache module
14+
uses: actions/[email protected]
15+
with:
16+
path: ~/.npm/
17+
key: npm-cache
18+
- name: Install modules
19+
run: npm ci

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const main = async () => {
1414
lock_reason: lock_reason,
1515
...context.repo,
1616
...context.owner,
17-
number: number,
17+
issue_number: number,
1818
})
1919
}
2020

0 commit comments

Comments
 (0)