File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : Tests
2- on : [push]
2+
3+ on : push
34
45jobs :
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
Original file line number Diff line number Diff line change 1+ nodeLinker : node-modules
Original file line number Diff line number Diff line change 11# Changelog
22All 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 ) )
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ outputs:
8080 resultsJson :
8181 description : ' The resulting stats stored as a step output variable in JSON format.'
8282runs :
83- using : ' node16 '
83+ using : node20
8484 main : ' dist/index.js'
8585branding :
8686 icon : ' award'
You can’t perform that action at this time.
0 commit comments