Skip to content

Commit 89da023

Browse files
New endpoints added (#159)
* New endpoints * issues fixed for version 3 * publish action added
1 parent af68edb commit 89da023

File tree

18 files changed

+409
-157
lines changed

18 files changed

+409
-157
lines changed

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: NPM publish
2+
on: workflow_dispatch
3+
4+
jobs:
5+
publish:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout sources
9+
uses: actions/checkout@v2
10+
- name: Use Node.js 14
11+
uses: actions/setup-node@v2
12+
with:
13+
node-version: 14
14+
registry-url: https://registry.npmjs.org/
15+
- name: Install dependencies
16+
run: npm ci
17+
- name: Create .env file
18+
run: |
19+
touch .env
20+
echo HOST=${{ secrets.HOST }} >> .env
21+
echo EMAIL=${{ secrets.EMAIL }} >> .env
22+
echo API_TOKEN=${{ secrets.API_TOKEN }} >> .env
23+
- name: Building sources
24+
run: npm run build
25+
- name: Tests
26+
run: npm run test
27+
- name: Linting
28+
run: npm run lint
29+
env:
30+
CI: true
31+
- name: Publishing
32+
run: npm publish
33+
env:
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Jira.js changelog
22

3+
### 2.6.2
4+
5+
- Version 2 and Version 3:
6+
- [`getEvents`](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-events-get) method added to `Issues`.
7+
- [`getRecent`](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-projects/#api-rest-api-2-project-recent-get) method added to `Projects`.
8+
39
### 2.6.1
410

511
- Common improvements:

0 commit comments

Comments
 (0)