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

Add GIFs to CI via vhs-action #3810

Closed
wants to merge 213 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
6fb4289
Add vhs-action for boa_cli
nekevss Apr 14, 2024
68c59ea
Compare GIFs in CI with ImageMagick
nekevss Apr 20, 2024
f5d050e
Bump rustls from 0.22.3 to 0.22.4 (#3821)
dependabot[bot] Apr 20, 2024
0f38f21
Bump serde from 1.0.197 to 1.0.198 (#3823)
dependabot[bot] Apr 22, 2024
7f079ae
Bump thiserror from 1.0.58 to 1.0.59 (#3824)
dependabot[bot] Apr 22, 2024
0cc98fb
Bump proc-macro2 from 1.0.80 to 1.0.81 (#3826)
dependabot[bot] Apr 22, 2024
c9d914c
Bump syn from 2.0.59 to 2.0.60 (#3827)
dependabot[bot] Apr 22, 2024
9ec0a13
Bump serde_json from 1.0.115 to 1.0.116 (#3825)
dependabot[bot] Apr 22, 2024
6156768
Implement TryFromJs for Either<L, R> (#3822)
hansl Apr 26, 2024
6ee208f
Decouple `Context` from `ByteCompiler` (#3829)
HalidOdat Apr 28, 2024
f469096
Bump either from 1.10.0 to 1.11.0 (#3835)
dependabot[bot] Apr 29, 2024
1c8400a
Bump hashbrown from 0.14.3 to 0.14.5 (#3834)
dependabot[bot] Apr 29, 2024
4452c03
Bump serde from 1.0.198 to 1.0.199 (#3833)
dependabot[bot] Apr 29, 2024
6febf7e
Implement object keys access (#3832)
HalidOdat Apr 30, 2024
3f6ee22
Implement Latin1 JsString (#3450)
HalidOdat May 1, 2024
5af3f7c
Fix Rust 1.78.0 Clippy lints (#3838)
HalidOdat May 2, 2024
12adec5
replace js_str with js_string (#3836)
getong May 3, 2024
09c08c5
Switch from actions-rs/toolchain to dtolnay/rust-toolchain (#3845)
raskad May 10, 2024
ce57ff1
Bump num-traits from 0.2.18 to 0.2.19 (#3840)
dependabot[bot] May 10, 2024
c32e3cb
Bump serde from 1.0.199 to 1.0.201 (#3846)
dependabot[bot] May 11, 2024
2fc85d0
Bump trybuild from 1.0.91 to 1.0.95 (#3847)
dependabot[bot] May 11, 2024
371a7c8
Replace archived github actions from actions-rs (#3848)
raskad May 11, 2024
ced222f
Separate `JsString` into its own crate (#3837)
HalidOdat May 12, 2024
314ff86
Bump getrandom from 0.2.14 to 0.2.15 (#3850)
dependabot[bot] May 13, 2024
52bc17d
Bump thiserror from 1.0.59 to 1.0.60 (#3851)
dependabot[bot] May 13, 2024
e17d660
Bump num-bigint from 0.4.4 to 0.4.5 (#3854)
dependabot[bot] May 13, 2024
e8f673c
Bump paste from 1.0.14 to 1.0.15 (#3852)
dependabot[bot] May 13, 2024
0a5721b
Bump proc-macro2 from 1.0.81 to 1.0.82 (#3853)
dependabot[bot] May 13, 2024
2e40dbd
Fix CI for nextest step (#3862)
jedel1043 May 20, 2024
6130adf
Group dependabot updates (#3863)
jedel1043 May 20, 2024
b11726d
Add matrix badge and update communication to include matrix (#3865)
nekevss May 27, 2024
26b1f69
Bump the rust-dependencies group with 5 updates (#3866)
dependabot[bot] May 27, 2024
fd1a348
add group_collapsed function executing group inside it (#3867)
leoflalv May 28, 2024
8c727f6
Bump ICU4X to 1.5 and cleanup Intl (#3868)
jedel1043 May 29, 2024
c7683e3
Update regress to v0.10.0 (#3869)
raskad May 30, 2024
c7e3ec4
Bump proc-macro2 from 1.0.84 to 1.0.85 in the rust-dependencies group…
dependabot[bot] Jun 3, 2024
4419e6d
Fix base objects in `with` statements (#3870)
raskad Jun 4, 2024
109dd3d
Adding TryFromJs implementations for BTreeMap and HashMap (#3844)
hansl Jun 6, 2024
95ba660
Bump the rust-dependencies group with 5 updates (#3873)
dependabot[bot] Jun 10, 2024
32e7562
Fix boa cli history (#3875)
raskad Jun 14, 2024
1eaf923
Fix hashbang comments by using proper goal symbols (#3876)
raskad Jun 15, 2024
1f446a8
Bump clap from 4.5.6 to 4.5.7 in the rust-dependencies group (#3878)
dependabot[bot] Jun 18, 2024
69ea2f5
Fix AsyncGenerator to correctly handle `return` inside `then` (#3879)
jedel1043 Jun 19, 2024
855c1bb
Bump the rust-dependencies group with 3 updates (#3881)
dependabot[bot] Jun 24, 2024
149693a
Adding TryFromJs implementations for tuples (#3843)
hansl Jun 24, 2024
2458d73
Bump temporal_rs to latest commit (#3880)
jedel1043 Jun 25, 2024
2d91cd1
Remove `FormalParameterList` from CodeBlock (#3882)
HalidOdat Jun 29, 2024
9738d44
Combine `HasProperty` and `Get` operations when possible (#3883)
raskad Jun 30, 2024
eb43955
Remove some environment clones (#3884)
raskad Jun 30, 2024
4cc47b6
Bump baptiste0928/cargo-install in the ci-dependencies group (#3885)
dependabot[bot] Jul 1, 2024
1a01d1f
Bump the rust-dependencies group with 5 updates (#3886)
dependabot[bot] Jul 1, 2024
bb2d028
Bump rustc-hash from 1.1.0 to 2.0.0 (#3887)
dependabot[bot] Jul 1, 2024
961d7b4
Refactor call frame access to avoid panic checks (#3888)
raskad Jul 3, 2024
8e76836
Remove `Temporal.Calendar` and `Temporal.TimeZone` (#3890)
jedel1043 Jul 5, 2024
fc2a6e0
Update Temporal rounding and implement additional methods (#3892)
nekevss Jul 7, 2024
183e763
Bump the rust-dependencies group with 4 updates (#3899)
dependabot[bot] Jul 8, 2024
841104e
Bump zerovec from 0.10.3 to 0.10.4 (#3901)
dependabot[bot] Jul 8, 2024
6a6fa6a
format code in comments (#3902)
jasonwilliams Jul 8, 2024
58d0fe6
Add a js_class to implement the Class trait without boilerplate (#3872)
hansl Jul 8, 2024
5bf2e92
Fix HomeObject for private class methods (#3897)
raskad Jul 8, 2024
36eeea1
Fix evaluation order in destructive property assignments (#3895)
raskad Jul 8, 2024
5889a76
Updates to temporal_rs version and temporal methods (#3900)
nekevss Jul 8, 2024
d47254b
Patch regression from change to to-relative-to-object (#3906)
nekevss Jul 9, 2024
6bc78bf
Add `get_unchecked` method to `JsString` and `JsStr` (#3898)
CrazyboyQCD Jul 9, 2024
38d0324
bump gc threshold (#3908)
jasonwilliams Jul 9, 2024
a682246
update versions and ABOUT files (#3903)
jasonwilliams Jul 10, 2024
f80c532
Cleanup README.md and contributor documentation (#3909)
jedel1043 Jul 10, 2024
ab0854f
Refactor environment stack to remove some panics (#3893)
raskad Jul 10, 2024
5b1621a
Implement lossless TryFromJs for integers from f64 (#3907)
HalidOdat Jul 10, 2024
4114385
changelog for v0.19 (#3904)
jasonwilliams Jul 11, 2024
532c008
Remove `boa_macros` from `boa_string` (#3913)
jedel1043 Jul 11, 2024
fbdd178
Implement `Math.pow` function according to ECMAScript specification (…
magic-akari Jul 13, 2024
b38b365
Bump the rust-dependencies group with 3 updates (#3919)
dependabot[bot] Jul 15, 2024
7d025bc
Implement more Temporal functionality (#3924)
nekevss Jul 18, 2024
d8b8066
Add a js_error! macro to create opaque errors (#3920)
hansl Jul 19, 2024
523bdd0
Update Instant for new Temporal functionality (#3928)
nekevss Jul 19, 2024
99642be
Fix temporal builtin properties (#3930)
nekevss Jul 20, 2024
816e1bb
Add a way to add setters/getters in js_class! (#3911)
hansl Jul 21, 2024
21a9778
Bump the rust-dependencies group with 4 updates (#3933)
dependabot[bot] Jul 22, 2024
6e6d67c
Fix wrong `neg` operation (#3926)
CrazyboyQCD Jul 23, 2024
e205b56
Fix destructuring assignment evaluation order (#3934)
raskad Jul 23, 2024
4c76af8
Fix lints from rustc 1.80.0 (#3936)
jedel1043 Jul 29, 2024
ec5d6e3
Bump the rust-dependencies group with 4 updates (#3939)
dependabot[bot] Jul 29, 2024
3a6f4a5
Fix various parser idempotency issues and parsing errors (#3917)
raskad Aug 2, 2024
6f1d7d1
Add a JsError::from_rust constructor to create native errors from Rus…
hansl Aug 3, 2024
a9d19bd
Add a Source::with_path method to set the path on a Source (#3941)
hansl Aug 3, 2024
3b5434c
Bump the rust-dependencies group with 8 updates (#3944)
dependabot[bot] Aug 5, 2024
ddc8b42
Refactor `RawJsString`'s representation to make `JsString`s construct…
CrazyboyQCD Aug 11, 2024
4e3f660
Bump the rust-dependencies group with 4 updates (#3949)
dependabot[bot] Aug 12, 2024
5ee0dc1
add some temporal methods (#3856)
jasonwilliams Aug 13, 2024
c6c6e4c
Allow a custom Logger to be used as the backend for boa_runtime::Cons…
hansl Aug 14, 2024
00f8e00
Split default icu data into lazily deserialized parts (#3948)
jedel1043 Aug 15, 2024
50fabc8
Add more utility functions around modules and exports (#3937)
hansl Aug 17, 2024
c22f39b
Implement new spec changes for `AsyncGenerator` (#3950)
jedel1043 Aug 18, 2024
424896d
Refactor ast function types (#3931)
raskad Aug 18, 2024
eba912f
Fix `js_str` macro to correctly handle latin1 strings (#3959)
jedel1043 Aug 19, 2024
90c4d0e
Add spec edition 15 to the tester (#3957)
jedel1043 Aug 19, 2024
86dab77
Bump the rust-dependencies group with 10 updates (#3960)
dependabot[bot] Aug 19, 2024
1c83ad1
Allow trailing commas in js_class functions (#3964)
hansl Aug 21, 2024
1c1d820
Add clippy for denying print and eprints (#3967)
hansl Aug 21, 2024
1691802
Rename as_promise to as_promise_object and add as_promise -> JsPromis…
hansl Aug 23, 2024
af4fd5a
Implement `Atomics.pause` (#3956)
jedel1043 Aug 24, 2024
31e4990
Build out partial record functionality, property bag construction, an…
nekevss Aug 24, 2024
25705ef
Refactor iterator APIs to be on parity with the latest spec (#3962)
jedel1043 Aug 24, 2024
83ed291
Bump the rust-dependencies group with 4 updates (#3969)
dependabot[bot] Aug 27, 2024
c57f231
Add a clone_inner method to allow cloning of inner data (#3968)
hansl Aug 27, 2024
9a553db
fix: ignore `debugger` statement (#3976)
shurizzle Sep 3, 2024
eecba59
Bump the rust-dependencies group with 3 updates (#3974)
dependabot[bot] Sep 3, 2024
0f282f5
Add support for boa(rename = "") in TryFromJs derive (#3980)
hansl Sep 5, 2024
b08610a
Allow dead code for code that is newly detected as unused (#3984)
hansl Sep 7, 2024
b429c54
Enable CI for release branches (#3987)
jedel1043 Sep 8, 2024
4c5df56
Allow warnings when running CI on release branches (#3990)
jedel1043 Sep 9, 2024
4778780
Add support for Trace, Finalize and JsData for Convert<> (#3970)
hansl Sep 9, 2024
5534ec2
Add a display type for JsString to allow formatting without allocatio…
hansl Sep 9, 2024
a166d4c
Bump the rust-dependencies group with 7 updates (#3991)
dependabot[bot] Sep 9, 2024
cdb4751
Add an "iter()" method to Js*Array for convenience (#3986)
hansl Sep 9, 2024
c21f10e
A simple module loader from a function (#3932)
hansl Sep 9, 2024
affa652
Add a way for js_error! macro to create native errors with message (#…
hansl Sep 11, 2024
50356e9
Add TryIntoJsResult for vectors (#3993)
hansl Sep 11, 2024
dd32789
Add tests from WPT and fix them in the Console (#3979)
hansl Sep 11, 2024
4db0388
Update changelog for v0.19.1 (#3995)
jedel1043 Sep 12, 2024
c480a42
Implement register allocation (#3942)
HalidOdat Sep 12, 2024
6d8be0a
Improve CI concurrency and fix macos release (#3996)
jedel1043 Sep 15, 2024
ddb1901
Add TextEncoder, TextDecoder implementations to boa_runtime (#3994)
hansl Sep 19, 2024
8438ad2
Add TryFromJs for TypedJsFunction and more tests (#3981)
hansl Sep 22, 2024
aa09d98
Implement scope analysis and local variables (#3988)
raskad Sep 22, 2024
bea8369
docs: Fix link to examples (#4007)
it-a-me Sep 24, 2024
e6a6950
Add context to the console Logger trait (#4005)
hansl Sep 24, 2024
4ed2bad
Bump the rust-dependencies group with 3 updates (#4003)
dependabot[bot] Sep 24, 2024
628e31c
#4009: eq bug fix + tests (#4010)
Nikita-str Sep 28, 2024
9d7153c
Bump the rust-dependencies group with 4 updates (#4013)
dependabot[bot] Sep 30, 2024
fcd4422
Bump the rust-dependencies group with 4 updates (#4015)
dependabot[bot] Oct 9, 2024
c9d1b5d
Bump rustsec/audit-check from 1.4.1 to 2.0.0 (#4012)
dependabot[bot] Oct 9, 2024
67f4884
`JsValue::to_json` fix integer property keys (#4011)
Nikita-str Oct 9, 2024
94d08fe
Add a URL class to boa_runtime (#4004)
hansl Oct 9, 2024
e22a703
Bump the rust-dependencies group across 1 directory with 8 updates (#…
dependabot[bot] Oct 22, 2024
acd1a8d
Add a display_lossy() to write a JsString lossily (#4023)
hansl Oct 25, 2024
905e4c6
`TryIntoJs` trait and derive macro for it (#3999)
Nikita-str Oct 26, 2024
23e8ba2
Bump the rust-dependencies group with 5 updates (#4025)
dependabot[bot] Oct 30, 2024
d3dbb4a
console.debug() should use a debug Logger method (#4019)
hansl Nov 2, 2024
d8ec97c
use with_capacity to reduce re-allocations fixes #3896 (#3961)
jasonwilliams Nov 2, 2024
b60b103
`TryFromJs` from `JsMap` for `HashMap` & `BtreeMap` (#3998)
Nikita-str Nov 3, 2024
265dca3
add nightly build (#4026)
jasonwilliams Nov 3, 2024
4983471
Some optimizations on `Error` (#4020)
CrazyboyQCD Nov 4, 2024
24e2481
Bump the rust-dependencies group with 5 updates (#4027)
dependabot[bot] Nov 4, 2024
e37dc41
Option::None should try into Undefined, not Null (#4029)
hansl Nov 4, 2024
9319276
Patch the indentation on nightly_build.yml (#4028)
nekevss Nov 5, 2024
5ea44d8
Wrap the mv command in quotations and add echo for testing (#4032)
nekevss Nov 8, 2024
f30514b
Some string optimizations (#4030)
CrazyboyQCD Nov 11, 2024
e416a31
Bump thiserror from 1.0.67 to 1.0.69 (#4037)
dependabot[bot] Nov 11, 2024
b8ea9bd
Bump the rust-dependencies group with 3 updates (#4036)
dependabot[bot] Nov 12, 2024
e892d94
Add a JsPromise::from_result for convenience (#4039)
hansl Nov 12, 2024
1ddfcd5
Use upload-rust-binary-action for nightly release (#4040)
nekevss Nov 12, 2024
2bc6312
Misspelled permissions in file (#4041)
nekevss Nov 12, 2024
334fb36
Fix ref to nightly and add target (#4042)
nekevss Nov 13, 2024
e9586b8
Bump the rust-dependencies group with 4 updates (#4045)
dependabot[bot] Nov 18, 2024
55532c0
Remove dockerfile from documentation (#4046)
4yman-0 Nov 19, 2024
f7f8470
Bump codecov/codecov-action from 4 to 5 (#4044)
dependabot[bot] Nov 21, 2024
9b7c8ce
Bump dependencies with breaking changes (#4050)
jedel1043 Nov 22, 2024
8f1d8d4
Add string builder to build `JsString` (#3915)
CrazyboyQCD Nov 22, 2024
9d8f267
Migrate to fast-float2 (#4052)
jedel1043 Nov 24, 2024
10cb765
Bump the rust-dependencies group with 6 updates (#4053)
dependabot[bot] Nov 25, 2024
1c4f455
Bump rustls from 0.23.17 to 0.23.18 (#4055)
dependabot[bot] Nov 25, 2024
793a100
Fix rust 1.83.0 lints (#4060)
raskad Dec 3, 2024
3fb646a
update changelog for 0.20.0 (#4056)
jasonwilliams Dec 3, 2024
26681a0
Bump the rust-dependencies group across 1 directory with 6 updates (#…
dependabot[bot] Dec 3, 2024
97c4423
update the test262 data on release (#4057)
jasonwilliams Dec 3, 2024
e1da912
Reduce environment allocations (#4002)
raskad Dec 4, 2024
20fe60f
update changelog and bump versions for release (#4064)
jasonwilliams Dec 5, 2024
b345775
update Boa to be inline with Temporal (#4034)
jasonwilliams Dec 5, 2024
c2e8d1f
Bug fix: regex started with `/=` parsed as `AssignDiv` (#4048)
Nikita-str Dec 5, 2024
c609fbc
fix: parse Arguments should expect `)` not `}` (#4058)
zzzdong Dec 6, 2024
0a082e8
Add fast path for number to `JsString` conversion (#4054)
CrazyboyQCD Dec 9, 2024
0c5f3b7
Bump the rust-dependencies group with 3 updates (#4069)
dependabot[bot] Dec 9, 2024
67f6d56
bug fix: ops that stay strictly at the EOF after assigns ops are igno…
Nikita-str Dec 9, 2024
934546e
Build out Temporal's `ZonedDateTime` and `Now` (#4068)
nekevss Dec 11, 2024
f5ba695
Patch Temporal.PlainTime and Temporal.Duration constructors (#4078)
nekevss Dec 11, 2024
4cc816f
Add valueOf methods to the Temporal builtins (#4079)
nekevss Dec 11, 2024
6f2dca8
Add `fjcvtzs` instruction for `ARMv8.3` target (#4084)
CrazyboyQCD Dec 13, 2024
e529d70
Add a stress test to the parser to parser multi-millions tokens (#4086)
hansl Dec 14, 2024
517ad50
Bump the rust-dependencies group with 4 updates (#4088)
dependabot[bot] Dec 16, 2024
12faeca
Privatize `JsValue`'s internals and expose it through a JsVariant (wi…
hansl Dec 19, 2024
d870057
Skip creation of arguments object if possible (#4087)
raskad Dec 19, 2024
3777df0
Allow resizing of underlying ArrayBuffer from Rust (#4082)
hansl Dec 19, 2024
02ba398
Add inline cache for getting bindings from the global object (#4067)
raskad Dec 20, 2024
1ca6b81
Update Temporal ToIntegerIfIntegral, ToIntegerWithTruncation, and ToP…
nekevss Dec 23, 2024
68e6d49
Add more `ZonedDateTime` method implementations (#4095)
nekevss Dec 24, 2024
71c6e7b
Adjust call to correct method (#4096)
nekevss Dec 25, 2024
1af4494
fix very minor typo shift -> unshift (#4097)
albertleigh Dec 26, 2024
fdd8acc
Bump the temporal_rs version and related changes (#4098)
nekevss Dec 27, 2024
9363531
Bump test262 commit and changes to `boa_tester` to support sm changes…
nekevss Dec 29, 2024
77893f3
Bump the rust-dependencies group across 1 directory with 6 updates (#…
dependabot[bot] Dec 30, 2024
13344ce
Remove some clones and branches in hot `PropertyDescriptor` functions…
raskad Dec 30, 2024
ce7ea1d
Bump syn from 2.0.93 to 2.0.95 in the rust-dependencies group (#4109)
dependabot[bot] Jan 6, 2025
426503f
Enable sm test suite and fix ephemeron bug (#4107)
jedel1043 Jan 7, 2025
c5f2c56
Cleanup CLI to use eyre + refactor patterns (#4108)
jedel1043 Jan 7, 2025
579c455
Move methods of `JsString` to `JsStr` (#4106)
jedel1043 Jan 7, 2025
4a15d6c
Remove `try_break` macro in favour of question mark operator (#4112)
jedel1043 Jan 7, 2025
103c66e
Remove keywords for boolean and null literals (#4113)
jedel1043 Jan 8, 2025
ce6cfa8
Implement `Error.isError` (#4114)
jedel1043 Jan 8, 2025
a235976
Improve implementation of example `JobQueue`s (#4111)
jedel1043 Jan 9, 2025
cf2aa58
Fix CI with the latest linter errors introduced in 1.84 (#4117)
hansl Jan 10, 2025
efcafda
Implement `PlainDate` string methods (#4119)
nekevss Jan 12, 2025
3008f1d
Use `cow_to_ascii_uppercase` instead (#4124)
heygsc Jan 14, 2025
f64d937
Revamp `JobQueue` into `JobExecutor` and introduce `NativeAsyncJob` …
jedel1043 Jan 14, 2025
c48056e
Add `From<Cow<'a, str>>` for `JsString` (#4134)
CrazyboyQCD Jan 15, 2025
ca86fdf
Bump the rust-dependencies group across 1 directory with 7 updates (#…
dependabot[bot] Jan 15, 2025
b2ba5f6
Implement more `toString` and `toJSON` methods on Temporal builtins (…
nekevss Jan 15, 2025
79a4393
Add vhs-action for boa_cli
nekevss Apr 14, 2024
b6aeb7d
Compare GIFs in CI with ImageMagick
nekevss Apr 20, 2024
671c608
Take two with ascii output and diff
nekevss Jan 16, 2025
8bbc1e6
Merge branch 'add-vhs-ci' of https://github.com/boa-dev/boa into add-…
nekevss Jan 16, 2025
63803b6
Refresh and fixes after fast-forwarding branch
nekevss Jan 16, 2025
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
37 changes: 37 additions & 0 deletions .github/tapes/boa_cli.tape
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Output cli/assets/boa_cli.gif

# Setup env
Hide

Set TypingSpeed 50ms
Set Theme "GruvboxDark"
Set Shell fish

# boa_cli needs to be installed for the tape to run.
Require boa

Show

Type "boa"

Sleep 100ms

Enter

Type "2 + '2'"

Enter

Sleep 100ms

Type "const sayHello = () => { return 'Hello World!' };"

Enter

Sleep 100ms

Type "sayHello();"

Enter

Sleep 2s
31 changes: 31 additions & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Artifacts

on:
push:
branches:
- main

jobs:
build_cli_tape:
name: Generate boa_cli GIF
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo install --path ./cli
# Below is from vhs-actions examples
# https://github.com/charmbracelet/vhs-action/blob/main/examples/auto-commit.yml
- uses: charmbracelet/vhs-action@v1
with:
path: './.github/tapes/boa_cli.tape'
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: Update generated VHS GIF
branch: main
commit_user_name: vhs-action 📼
commit_user_email: [email protected]
commit_author: vhs-action 📼 <[email protected]>
file_pattern: '*.gif'
Copy link
Member

@jedel1043 jedel1043 Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was thinking more about this, and maybe this shouldn't be a direct commit, but a check on the PRs that compares the current version of the GIF with the GIF generated by the tool, and throws if both differ.

2 changes: 2 additions & 0 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ your CLI.
<!-- TODO (nekevss): Potentially add CI driven gifs with https://github.com/charmbracelet/vhs -->
<!-- NOTE (nekevss): VHS is currently bugged and non-functional on Windows. -->

![](./assets/boa_cli.gif)

Once installed, your good to go!

To execute some JavaScript source code, navigate to the directy of your choosing and type:
Expand Down
Binary file added cli/assets/boa_cli.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading