Skip to content

Commit

Permalink
fix: update node version to v20 for release and testing workflow (#738)
Browse files Browse the repository at this point in the history
* fix: update node version to v20

* Bump jest and nock to latest versions

* Remove callback

* Bump probot to version ^13.0.2

* test: update nock mocks

* Bump nock package to version v14.0.0-beta.5

* Add changeset

---------

Co-authored-by: Shine Lee <aungshine@gmail.com>
  • Loading branch information
mesaugat and shine2lay committed Mar 12, 2024
1 parent 375def2 commit a675dcf
Show file tree
Hide file tree
Showing 6 changed files with 3,485 additions and 8,038 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:

strategy:
matrix:
node-version: [18.14.1]
node-version: [20.11.1]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches: ['**']
pull_request:
branches: [ '**' ]
branches: ['**']

permissions:
contents: read

Expand All @@ -16,16 +16,16 @@ jobs:

strategy:
matrix:
node-version: [14.15.4]
node-version: [20.11.1]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm run test-coverage
env:
CI: true
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present
- run: npm run test-coverage
env:
CI: true
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CHANGELOG
=====================================
| Mar 11, 2024: fix: bump dependencies probot, jest and nock to latest versions and update ci workflow to use node 20 `#738 <https://github.com/mergeability/mergeable/pull/738>`_
| Feb 27, 2024: fix: search and replace of special annotations `#735 <https://github.com/mergeability/mergeable/pull/735>`_
| May 12, 2023: fix: Loading teams for team option of author filter/validator `#713 <https://github.com/mergeability/mergeable/pull/713>`_
| May 11, 2023: fix: Send correct payload for changing labels `#715 <https://github.com/mergeability/mergeable/pull/715>`_
Expand Down

0 comments on commit a675dcf

Please sign in to comment.