Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save raw stats as artifacts #83

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ Thumbs.db

# Ignore built ts files
__tests__/runner/*
lib/**/*
lib/**/*

# VS Code
.vscode/
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ jobs:
| `comment_on_pr` | Optional | Set to `true` to publish the results as comment to the PR (applicable if workflow run is triggered by PR). Defaults to `true`. <br/> Requires `pull-requests: write` permission
| `job_summary` | Optional | Set to `true` to publish the results as part of the [job summary page](https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/) of the workflow run. Defaults to `true`.
| `theme` | Optional | Set to `dark` to generate charts compatible with Github **dark** mode. Defaults to `light`.
| `save_raw_stats` | Optional | Set to `true` to save raw stats as artifacts. Defaults to `false`.
| `artifact_retention_days` | Optional | Number of days to retain the stats artifacts. Defaults to `1`.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ inputs:
description: "Set to `dark` to generate charts compatible with Github dark mode. Defaults to 'light'."
default: "light"
required: false
save_raw_stats:
description: "Set to `true` to save raw stats as artifacts. Defaults to 'false'."
default: "false"
required: false
artifact_retention_days:
description: "Number of days to retain the stats artifacts. Defaults to '1'."
default: "1"
required: false

runs:
using: "node20"
Expand Down
179,081 changes: 139,205 additions & 39,876 deletions dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

149,956 changes: 121,176 additions & 28,780 deletions dist/post/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

148,857 changes: 124,093 additions & 24,764 deletions dist/sc/index.js

Large diffs are not rendered by default.

Loading