Skip to content

Commit 1460cd0

Browse files
committed
v2.12.0: Update dependencies and Node v20
2 parents 126f3be + 5d240b5 commit 1460cd0

9 files changed

Lines changed: 49228 additions & 25244 deletions

File tree

.github/workflows/linter.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111

12-
- uses: actions/setup-node@v3
13-
with:
14-
node-version: 18
15-
cache: 'yarn'
12+
- name: Upgrade Yarn
13+
run: |
14+
corepack enable
15+
yarn set version stable
1616
17-
- name: Install dependencies
18-
run: yarn install --frozen-lockfile
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
cache: yarn
1921

20-
- run: yarn lint
22+
- name: Install dependencies
23+
run: yarn install
24+
25+
- run: yarn lint

.github/workflows/recap.yml

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

.github/workflows/tests.yml

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

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

139
steps:
14-
- uses: actions/checkout@v2
15-
- name: Use Node.js ${{ matrix.node-version }}
16-
uses: actions/setup-node@v1
17-
with:
18-
node-version: ${{ matrix.node-version }}
19-
- run: yarn install --frozen-lockfile
20-
- run: yarn test
10+
- uses: actions/checkout@v4
11+
12+
- name: Upgrade Yarn
13+
run: |
14+
corepack enable
15+
yarn set version stable
16+
17+
- name: Use Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
cache: yarn
22+
23+
- run: yarn install
24+
25+
- 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))

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ outputs:
8080
resultsJson:
8181
description: 'The resulting stats stored as a step output variable in JSON format.'
8282
runs:
83-
using: 'node16'
83+
using: node20
8484
main: 'dist/index.js'
8585
branding:
8686
icon: 'award'

0 commit comments

Comments
 (0)