mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 13:17:08 +00:00
Test against Node 18 (#399)
* Test on Node 18 * Drop mistakenly commited file * Create 399.misc
This commit is contained in:
parent
42f02b1445
commit
84f1e3bfe3
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node_version: [14, 16]
|
||||
node_version: [14, 16, 18]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node_version }}
|
||||
|
1
changelog.d/399.misc
Normal file
1
changelog.d/399.misc
Normal file
@ -0,0 +1 @@
|
||||
Enable CI for Node 18.
|
15
oauth.ts
15
oauth.ts
@ -1,15 +0,0 @@
|
||||
import { readFileSync } from 'fs';
|
||||
import JiraApi, { SearchUserOptions } from 'jira-client';
|
||||
import * as f from 'oauth-sign';
|
||||
// Step 1. Sign the request
|
||||
|
||||
f()
|
||||
|
||||
const api = new JiraApi({
|
||||
host: 'localhost',
|
||||
port: 9050,
|
||||
oauth: {
|
||||
consumer_key: '',
|
||||
consumer_secret: readFileSync('jira_privatekey.pem', 'utf-8')
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user