Skip to content

Commit

Permalink
v2.12.0: Update dependencies and Node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmhtr committed Feb 7, 2024
2 parents 126f3be + 5d240b5 commit 1460cd0
Show file tree
Hide file tree
Showing 9 changed files with 49,228 additions and 25,244 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Upgrade Yarn
run: |
corepack enable
yarn set version stable
- name: Install dependencies
run: yarn install --frozen-lockfile
- uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn

- run: yarn lint
- name: Install dependencies
run: yarn install

- run: yarn lint
14 changes: 0 additions & 14 deletions .github/workflows/recap.yml

This file was deleted.

33 changes: 19 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
name: Tests
on: [push]

on: push

jobs:
tests:

runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn test
- uses: actions/checkout@v4

- name: Upgrade Yarn
run: |
corepack enable
yarn set version stable
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn

- run: yarn install

- run: yarn test
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file.

## [2.12.0] - 2024-02-06
### Changed
- [#85](https://github.com/flowwer-dev/pull-request-stats/pull/85) Use Node v20 (by [antonindrawan](https://github.com/antonindrawan))

## [2.11.0] - 2023-07-22
### Added
- [#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))
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ outputs:
resultsJson:
description: 'The resulting stats stored as a step output variable in JSON format.'
runs:
using: 'node16'
using: node20
main: 'dist/index.js'
branding:
icon: 'award'
Expand Down
Loading

0 comments on commit 1460cd0

Please sign in to comment.