Test against Node 18 (#399)

* Test on Node 18

* Drop mistakenly commited file

* Create 399.misc
This commit is contained in:
Will Hunt 2022-07-07 22:52:51 +01:00 committed by GitHub
parent 42f02b1445
commit 84f1e3bfe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 16 deletions

View File

@ -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
View File

@ -0,0 +1 @@
Enable CI for Node 18.

View File

@ -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')
}
});