relayrunner 0.13.2 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +26 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -210,6 +210,32 @@ Runners page, and a running `relayrunner connect` prints when that happens.
210
210
  In the terminal running `relayrunner connect`, `p` does the same.
211
211
  Both exit 1 when not signed in or when the token is no longer valid.
212
212
 
213
+ ## `relayrunner history`
214
+
215
+ ```sh
216
+ npx relayrunner history # the last 20 jobs this machine ran
217
+ npx relayrunner history --limit 50
218
+ npx relayrunner history --json
219
+ ```
220
+
221
+ Lists the jobs `relayrunner connect` ran on this machine, newest first, with
222
+ each one's result and how long it took. They're kept in
223
+ `~/.relayrunner/history.jsonl`, which RelayRunner for Mac reads too.
224
+
225
+ ## `relayrunner jobs`
226
+
227
+ ```sh
228
+ npx relayrunner jobs # the jobs this machine ran in the last week
229
+ npx relayrunner jobs --before <ms> # the page after, from the last page's hint
230
+ npx relayrunner jobs 123456789 # one job's steps and, if it failed, why
231
+ npx relayrunner jobs --json
232
+ ```
233
+
234
+ Unlike `history`, which reads this computer's own file, `jobs` asks the
235
+ gateway, so it shows GitHub's steps for each job and, for a failed one, the
236
+ failed step, its annotations and the end of its log. A machine only sees jobs
237
+ that ran on it. RelayRunner for Mac's Jobs window reads the same.
238
+
213
239
  ## `relayrunner share`
214
240
 
215
241
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relayrunner",
3
- "version": "0.13.2",
3
+ "version": "0.15.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Run GitHub Actions jobs on your machine through the RelayRunner gateway.",
6
6
  "repository": {
@@ -19,9 +19,9 @@
19
19
  "bin"
20
20
  ],
21
21
  "optionalDependencies": {
22
- "@relayrunner/cli-darwin-arm64": "0.13.2",
23
- "@relayrunner/cli-darwin-x64": "0.13.2",
24
- "@relayrunner/cli-linux-arm64": "0.13.2",
25
- "@relayrunner/cli-linux-x64": "0.13.2"
22
+ "@relayrunner/cli-darwin-arm64": "0.15.0",
23
+ "@relayrunner/cli-darwin-x64": "0.15.0",
24
+ "@relayrunner/cli-linux-arm64": "0.15.0",
25
+ "@relayrunner/cli-linux-x64": "0.15.0"
26
26
  }
27
27
  }