Skip to content

Commit 5d240b5

Browse files
committed
v2.12.0: Update to Node20 and update dependencies
1 parent 43bb7d1 commit 5d240b5

8 files changed

Lines changed: 49217 additions & 25232 deletions

File tree

.github/workflows/linter.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v4
1111

12+
- name: Upgrade Yarn
13+
run: |
14+
corepack enable
15+
yarn set version stable
16+
1217
- uses: actions/setup-node@v4
1318
with:
1419
node-version: 20
15-
cache: "yarn"
20+
cache: yarn
1621

1722
- name: Install dependencies
18-
run: yarn install --frozen-lockfile
23+
run: yarn install
1924

2025
- run: yarn lint

.github/workflows/recap.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
name: Tests
2-
on: [push]
2+
3+
on: push
34

45
jobs:
56
tests:
6-
runs-on: ${{ matrix.os }}
7-
strategy:
8-
matrix:
9-
node-version: [20.x]
10-
os: [ubuntu-latest]
7+
runs-on: ubuntu-latest
118

129
steps:
1310
- uses: actions/checkout@v4
14-
- name: Use Node.js ${{ matrix.node-version }}
11+
12+
- name: Upgrade Yarn
13+
run: |
14+
corepack enable
15+
yarn set version stable
16+
17+
- name: Use Node.js
1518
uses: actions/setup-node@v4
1619
with:
17-
node-version: ${{ matrix.node-version }}
18-
- run: yarn install --frozen-lockfile
20+
node-version: 20
21+
cache: yarn
22+
23+
- run: yarn install
24+
1925
- run: yarn test

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [2.12.0] - 2024-02-06
5+
### Changed
6+
- [#85](https://github.com/flowwer-dev/pull-request-stats/pull/85) Use Node v20 (by [antonindrawan](https://github.com/antonindrawan))
7+
48
## [2.11.0] - 2023-07-22
59
### Added
610
- [#76](https://github.com/flowwer-dev/pull-request-stats/pull/76) Add stats as a github step output (by [Danny McCormick](https://github.com/damccorm))

0 commit comments

Comments
 (0)